Kindly follow the following steps to setup,
- Clone the repository
git clone [email protected]:odysseyiitr/website-2022.git
- Change directory to frontend in odyssey
cd website-2022/frontend/
-
Create a file
.env.local
from.env.local.example
and fill in the values -
Change directory to backend in the directory backend in odyssey
cd ../backend/backend
-
Create a file
secrets.py
fromsecrets.py.example
and fill in the values -
Go to the root directory of odyssey and start the docker containers
cd ../..
docker-compose up --build -d
- Go to
localhost:8000/admin
on a browser and login with the following credentials
username: admin
password: admin
- Click on
Social applications
(in the bottom left). Click on add in front of it. Fill the following details
Select provider as GitHub
Fill any name of your choice
Add Client id (same as added in .env.local in step 3)
Add Secret key (same as added in .env.local in step 3)
-
Then click on
example.com
and click on the right shift arrow, this will be changed during production. Save and exit. -
Go to
localhost:3000
in a browser and login with your GitHub account.