navigate to backend folder and run the following commands
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
touch .env
export DB_USER=yous-user-name
export DB_PASSWORD=your-pwd
export DB_HOST=localhost
export DB_NAME=quranicsci-db
python manage.py runserver
Before installing the dependencies and starting the server make sure you are using nvm
. This enables you to use different node versions without having to uninstall and reinstall node. The reason for using nvm is to avoid conflict in package versions and reduce changes made to package-lock.json.
For help in installing nvm on your specific device reference the following article
After installing nvm run the following commands
nvm install 20.10.0
nvm use 20.10.0
Navigate to frontend folder and run the following commands to install the dependencies
npm install
npm run start
-
Make sure before you make a pull request to build the project using the following command
If the build fails, fix the code causing the build to fail and then make the pull request.
npm run build