For the main project, the following is required:
- Python 2.7 (Installed on path)
- pip (Should be installed with python)
Want to build the react project?
- nodejs (latest)
- npm
It's recommended to use a virtualenv. Use virtualenvwrapper to make it easier
This will install the project
git clone https://github.com/esrg-knights/Socrates
cd Socrates
sudo pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
Now navigate to localhost:8000
cd assets/react
npm install
npm start
Now navigate to localhost:7000
npm run build