GithubHelp home page GithubHelp logo

gg1711 / boostyourcp Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 2.0 727 KB

This project is completely made in Django. Due to internet issues in the workspace during Hackathon, we are not able to deploy our Django project.

Python 71.36% CSS 2.96% HTML 25.68%
cron-jobs django conda

boostyourcp's Introduction

BoostYourCP

This project is completely made in Django. Due to internet issues in the workspace during Hackathon, we are not able to deploy our Django project. We will soon be adding link of our project.

  1. Clone the repo in a local folder.

  2. Create the virtual environment and install the all requirements avaliable in req.txt. We have used conda package manager, so req.txt is for conda. For,pip install respective packages.

  3. Go to desired location and make database using migration feature of Django. Use these commands - ' python3 manage.py makemigrations python3 manage.py migrate '

  4. Start your local django server python3 manage.py runserver

  5. Open your locally hosted app, by clicking on link in terminal.

  6. Tada...You have started the project, now you can easily access all its features.

  7. To access the database, create a superuser from terminal. python3 manage.py createsuperuser

  8. Use your details, to access the database by following link ‘localhost:port/admin’ in main page.

#Other features: Some features like cron jobs can easily be done by uploading it in django server. You can do it manually by

  1. For sending mail : ‘localhost:port/send’ has python3 function to send contest reminders. So, just open this page and ..TaDa .. You send alarms via mail.

2.For daily fetching of Contest details : ‘localhost:port/codechef’ && ‘localhost:port/codeforces’ .
So, just open this page and ..TaDa .. You updated your contest Data.

  1. We have other cron jobs to do operations like leaderboard update and usr rating fenching. U can check urls.py and respective mapped functions to know about them or wait for a couple of days....we will be updating it.

Limited scraping is permitted. We are using cron jobs daily, not on user request . So no problem of getting blocked for scraping. This is quit optimised way of doing this and no effect on user experience.

boostyourcp's People

Contributors

gg1711 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.