Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

matfystutor/web

Open more actions menu

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:

virtualenv web-venv
source web-venv/bin/activate (not windows)
./web-venv/scripts/activate (windows)
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 migrate
python manage.py runserver

About

Homepage of Mat/Fys-Tutorforeningen

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.