This project is running on Ubuntu, so this is probably the easiest environment in which to get things running, but other distributions of linux should be fine as well.
The development environment relies on using a Python virtual environment for tools and portability across platforms. Ensure that you have Python Pip installed for your platform before proceeding with these instructions.
Windows users can use the following guide. Specifically, get Python installed and then use the get-pip.py installer once Python is working
OSX users can use the built in version of Python as long as Pip is available, or better, install Brew and Python.
Linux users should have Python already installed. Ensure Pip is installed via your package manager and you should be all set.
Note: Ubuntu 16.04 LTS is recommended to use for the development environment.
-
Run the following git clone (specify a directory of your choosing if you like):
git clone https://github.com/jindalpawan/Scheduling -
cd into the name of the directory into which you cloned the git repository
cd hero -
After activating the virtual environment, install the dependencies
pip install -r requirements.txt -
You are all set. Run the migrate command
python manage.py migrate -
You are all set. Run the final command
python manage.py runserver -
You are all set. Run the celery final command
celery -A hero worker --loglevel=info -
Its time to rock. Visit http://localhost:8000 in your browser and you should be all set.