Skip to content

moscowpython/python.ru

Repository files navigation

Contributing

$ virtualenv python.ru --python=python3.5
$ source python.ru/bin/activate
$ git clone [email protected]:moscowpython/python.ru.git python_ru
$ cd python_ru
$ git checkout feature/launch  # remove after merging in master
$ pip install -r requirements.txt
$ python manage.py migrate

# Loading development fixtures
$ python manage.py loaddata fixtures/development.json
# Some images to work with
$ cp -R fixtures/media/ media/

$ python manage.py runserver

# Creating admin account, regular password strength validation applies!
$ python manage.py createsuperuser --username admin [email protected]

Updating development fixture

$ python manage.py dumpdata --exclude=auth --exclude=sessions --exclude=contenttypes --exclude=admin --indent 4 > fixtures/development.json
$ cp -R media/ fixtures/media/

# Commit fixtures, keeping their size reasonable

Tests

$ pip install tox
$ tox

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published