Software Project for Course CZ3003 by Team HUF
Go to frontend directory:
cd frontend
You will need to install Node.js
, npm
and yarn
to manage JavaScript packages that we are going to use.
Download & Install Node.js & npm
https://nodejs.org/en/
Install Yarn
npm install -g yarn
Install node modules in package.json
Make sure you are in the frontend
directory before you do this.
yarn install
You can run the app in the development mode by using
yarn start
Open http://localhost:3000 to view it in the browser.
To build the app for production to the build folder.
yarn build
- Python 3.9.0
- MYSQL Workbench
-
Set up a new virtual environment
python -m venv env
-
Activate the virtual environment
\env\Scripts\activate.bat
-
Install required libraries
pip install -r requirements.txt
-
Create new schema
Name: project_huf
-
Create authentication user
create user admin identified by ‘password';
grant all on project_huf.* to ‘admin’@’%’;
flush priviledges;
- Migrate all the default Django tables to your MySQL schema.
python manage.py migrate
-
python manage.py runserver
- Open http://localhost:8000