Repository for Fall 2017 : COMP3297 Software Engg
- Aman Johar
- Abhinav Goyal
- Wallace
- Luke Chen
In case you want to run your Django application from the terminal just run:
-
Run syncdb command to sync models to database and create Django's default superuser and auth system
$ python manage.py migrate
-
Run Django
- Run the below command for running from Cloud9 :
$ python manage.py runserver $IP:$PORT
- For running from a local machine :
$ python manage.py runserver
- Run the below command for running from Cloud9 :
-
Install dependencies by typing the following command in your terminal:
$ pip install -r requirements.txt
- Open the terminal
- Type
./manage.py shell
- Type
execfile('./tutoria/cron.py')
Caution : Do schedule.clear()
after every interrupt to cleanly cancel scheduled tasks
You need to run a SMTP server for sending/receiving email notifications
python -m smtpd -n -c DebuggingServer localhost:1025
- Search using hourly rate has bugs
- As we are using a CDN for ajax, bootstrap, etc you must connect to the internet to run the application once before the browser caches the data
- Can only choose from pre-defined set of subject tags
- Add functionality to add/search using user-inputted subject tags
- Handle case to prevent a user registered both as student and a tutor to book/cancel sessions with themself
You can configure your Python version and PYTHONPATH
used in
Cloud9 > Preferences > Project Settings > Language Support.
Django docs can be found at https://www.djangoproject.com/
As we say, all feedback is good feedback, hit us up over at [[email protected]]/[[email protected]] for any ideas, improvements, etc. :)