Skip to content

OEHC/web

 
 

Repository files navigation

This is the mftutor project. Django project in the mftutor/ folder, Django app in the tutor/ folder.

Please indent Python code with 4 spaces and follow PEP8 as much as possible.

In Vim, you may wish to add the following to your .vimrc:

autocmd FileType python set shiftwidth=4 softtabstop=4 expandtab
filetype indent plugin on

Clone the repository:

git clone https://github.com/matfystutor/web.git tutorweb

You should run the Django project in a virtualenv. For a local non-root virtualenv installation:

mkdir web-venv; cd web-venv/
virtualenv .
source bin/activate
cd ../tutorweb/
pip install -r requirements.txt

You need to create a mftutor/settings/local.py based on local.py.example in the mftutor/settings folder.

cp mftutor/settings/local.py.example mftutor/settings/local.py

You can now create the tables and run the server.

python manage.py syncdb
python manage.py runserver

About

Homepage of Mat/Fys-Tutorgruppen

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 52.2%
  • HTML 30.3%
  • JavaScript 12.5%
  • CSS 2.7%
  • TeX 1.5%
  • Perl 0.8%