Skip to content

Latest commit

 

History

History
87 lines (69 loc) · 2.85 KB

README.md

File metadata and controls

87 lines (69 loc) · 2.85 KB

DSC VIT

Cloud Program Leaderboard

API for #30daysofGCP LeaderBoard


Join Us

Functionalities

  • Scrape Public Profiles within seconds
  • Cron Job to update DB
  • Docker Support

Instructions to run

Deploy on Heroku

  • Fork the repo https://github.com/gdgvit/cloud-program-leaderboard
  • Clone the forked repo on to your local machine
  • Edit USERS_URLS in backend/settings.py file with your DSC's Public Profiles.
  • Push the code on to your github.
  • Create a new app in your heroku
  • Go to resources and add Heroku Redis
  • And head on to settings tab and add Config Vars Config Vars:
SECRET_KEY: 20_digit_alphanumerical_key
  • Now move to Deploy Tab. And click on deploy with Github and choose your repo and click on deploy.
  • Once done, click on Run Console which is located inside More Tab and type the following command
    python manage.py migrate
  • Yaay! Your'e done. Click on open app.

Deploy on VM

  • Fork the repo https://github.com/gdgvit/cloud-program-leaderboard
  • Clone the forked repo on to your local machine
  • Edit USERS_URLS in backend/settings.py file with your DSC's Public Profiles.
  • Push the code on to your github.
  • Run the following commands and replace your secret key
cp example.env .env
nano .env
sudo docker-compose build
sudo docker network create web
sudo docker network create internal
sudo docker-compose compose up -d
  • Yaay! Your'e done. Go to your Public IP Address.

Contributors

Sai Sandeep
Rayanuthala

Sai Sandeep

GitHub LinkedIn

Made with ❤️ by DSC VIT