- Anshul Bindal, z5227560
- Thomas Davie, z5263970
- Zainal Ahamath, z5224747
- Zeyu Hou, z5190728 - entire work for frontend
- Python - 3.9
- NodeJS - (ideal version - 18.12.1)
- npm - (ideal version - 8.19.2)
-
Navigate into the folder you would like to install Peera and clone app repo from Github by running the below command.
$ git clone https://github.com/unsw-cse-comp3900-9900-22T3/capstone-project-3900-w18a-itworkedb4.git Peera
-
In your newly create Peera folder, go into the src folder.
$ cd src
Download the Database file using the below command
$ wget --no-check-certificate 'https://docs.google.com/uc?export=download&id=1oCHCYL3bzPVE3AQpzEEK8TaJfnSgo6Ju' -O database.db
or
Navigate to the below link, download the database.db file and place it into the src folder.
https://drive.google.com/file/d/1oCHCYL3bzPVE3AQpzEEK8TaJfnSgo6Ju/
Now we will proceed to start the backend server.
-
From src folder, navigate into peera-app-backend folder
$ cd peera-app-backend
-
There will be a requirements.txt file in that folder. Now intall the python requirements by running the below command.
$ pip install -r requirements.txt
-
Now navigate into the peera-backend folder and then run the initialising file
$ cd peera-backend
$ python __init__.py
Now your backend server should be up and running. You can view the backend swagger UI by going to http://127.0.0.1:5001/static/swagger-ui/index.html#/
Next, we will install the front-end server
-
Open a new terminal window and navigate to the main directory of the app i.e. the Peera folder, and then install the nodeJS dependencies
$ npm install
-
Next, go into the frontend folder and install dependencies
$ cd frontend
$ npm install
-
Now we can start the nodejs server
$ npm start
Peera is now running! Head to http://127.0.0.1:3000 to begin.
- home
- register
- login
- user profile
- search
- connected user profile
- project dashboard
- task detail