CSE-210 Project
Make sure you have the following installed on your machine:
-
Clone the repository:
git clone https://github.com/XSiling/CSE210-Project.git
-
Navigate to the project folder:
cd CSE210-Project
-
Install Dependencies:
Run the following command to install the project dependencies.
npm install
-
Start the Server:
Launch the servers using the following commands in different terminal instances.
npm run server1
npm run server2
The servers will start running.
-
Launch the Website:
Open the project in Visual Studio Code and use the Live Server extension to launch the website.
- Install the Live Server extension if you haven't already.
- Right-click on the
/src/login.html
file and select "Open with Live Server."
This will open the website in a new browser window/tab.
For the recommendation system, you need to install the following:
pip3 install Mastodon.py
pip install flask
pip install flask-cors
python -m pip install mysql-connector-python
Create an env.py file as follows:
import os
os.environ['Mastodon_username'] = 'Your mastodon email'
os.environ['Mastodon_password'] = 'Your mastodon password'
For more details on implementational functionality and tests, refer to individual function and API pages.