This an online event conducted during Aavishkar 2.0 Fest organised by GNU/Linux User's Group , NIT Durgapur
- Clone the repository.
- Start a new virtualenv.
- Install the dependencies.
- Create a .env file.
- Create apps in Facebook and Google and then in the .env file write the env variables along with the corresponding values.
SECRET_KEY=abcd
SOCIAL_AUTH_FACEBOOK_KEY=1846346325670686
SOCIAL_AUTH_FACEBOOK_SECRET=5e6fbada3ddfbdc6a52e2091ec31d353
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY=4gd6d8644d
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET=7j9377f3f
- Complete the migrations.
- Create a superuser.
- Run the server.
$ git clone https://github.com/JayjeetAtGithub/online-treasure-hunt.git
$ virtualenv myenv
$ cd online-treasure-hunt
$ pip install -r requirements.txt
$ touch .env
$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py createsuperuser
$ python manage.py runserver