- One small step for Solan, a giant leap for Knowledge.
- Check out the SITE
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- this repository.
- python 3.6.7+
- pip
- django
-
run activate from the env folder to activate the virtual env
-
create a user called db_user with password _dbpass in mysql and grant all privilege on a new databases called solan$cisco_students
-
run the code in the next paragraph
-
Create 3 groups called Student, Teachers, Admin
-
go to users and and add a user to a group you want
-
go to logins on the admin page and click on the add login button, select the user and save
-
go to points and click on add points, select the login you just created and save
-
now you will be able to access all the featues of the website without any problems
run them one by one following any steps shown if required
python manage.py makemigrations
python manage.py migrations
python manage.py createsuperuser
python manage.py runserver 8080