Installation & Setup¶
Setup¶
create a folder named
ExamCouch
and clone the repository into that folder.git clone https://github.com/ExamCouch/examcouch-api.git
install virtualenv to create a virtual environment of any name & activate it using below commands.
pip install virtualenv virtualenv [name] [name]\Scripts\activate
install the project dependencies
pip install -r requirements.txt
create, migrate the database and then create an admin account using below commands.
python mysql_migration.py [root_user] [root_user_password] createsuperuser OR python mysql_migration.py [root_user] [root_user_password] python manage.py migrate python manage.py createsuperuser