Skip to content

Repository files navigation

Rahnama

This is Rahnama. A supervisor simulator for students.

Setup Virtualenv

  1. Install virtualenvwrapper package on your system.
  2. Make the following virtualenv with python3:
mkvirtualenv rahnama
  1. Everytime you need to work on the project use the following command:
workon rahnama

Installing Dependencies

When you're in the virtualenv, install python dependencies:

pip install -r requirements.txt

Migrations

If it's your first use, run migrations to build the database:

./manage.py migrate

Development Use

To run a development environment first run:

npm start

to make and serve frontend bundles. Then run:

./manage.py runserver

to start Django server and open your browser at http://localhost:8000

If you have problem with static files, run this:

./build.sh

Production Use

To run a production build first run:

./build.sh

to build frontend bundles. Then set DEBUG to false and set your hosts in ALLOWED_HOSTS in settings.py and run the project with gunicorn and nginx.

About

A supervisor simulator for students

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages