Skip to content

Latest commit

 

History

History
94 lines (63 loc) · 2.24 KB

README.md

File metadata and controls

94 lines (63 loc) · 2.24 KB

Labper

Lab performance evaluator

How to Use

To use this project, follow these steps:

  • Make a .env file having same structure as .env.sample
  • Get your G_KEY and G_SKEY by creating a project on Google Dev Console
  • Add you client key to G_KEY and client secret key to G_SKEY.
  • Fill up the following entries in .env.
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_HOST_USER=YourEmail
EMAIL_HOST_PASSWORD=YourPassword
  • You have to enable access by insecure apps in your respective email serivce provider.

  • Install requirements:

pip install -r requirements.txt
  • Makemigrations and migrate the Database to populate the table
python manage.py makemigrations && python manage.py migrate
  • Create superuser
python manage.py createsuperuser
  • Run server
python manage.py runserver

Deployment to Pythonanywhere

  • Take Python 3.7 app with Django 2.0.8.

  • Clone the repository using:

      git clone https://github.com/aashutoshrathi/labper.git brutus 
  • Go into project directory using:

    cd brutus
  • Install requirements:

      pip3 install --user -r requirements.txt
  • Makemigrations and collectstatic using:

      python3 manage.py makemigrations landing
      python3 manage.py migrate
      pytohn3 manage.py collectstatic
      python3 manage.py createsuperuser

Deployment to Heroku

One click easy deployment.

Deploy

Author ✍️

Team Labper