Skip to content

garncarz/vietcong1.eu

Repository files navigation

Vietcong1.eu

Build Status Coverage Status

This is a rewrite of http://vietcong1.eu into a Django-powered project. Originally, only server fetching mechanism was written in Python, the rest of back-end being PHP/Nette.

Installation

Needed: Python 3

  1. git clone https://github.com/garncarz/vietcong1.eu.git
  2. virtualenv3 virtualenv
  3. Make sure virtualenv/bin is in PATH.
  4. cd vietcong1.eu
  5. pip install -r requirements.txt
  6. Create vietcong/settings/local.py, it should begin with from .base import *, settings override and specifications should follow. Or you can just from .development import * if you're developing.

Installation of front-end

Needed: npm, Sass

Run:

$ cd front_end
$ npm install
$ node_modules/.bin/bower install
$ node_modules/.bin/grunt

Run

Needed:

  • ./manage.py migrate for synchronizing the database schema.
  • ./manage.py compilemessages for compiling translations (gettext needed).

Run:

./manage.py runserver when developing.

Demo

./manage.py demo fills DB with randomly generated content.

Testing

./manage.py test

With coverage: coverage run --source='.' ./manage.py test, then coverage report or coverage html.

About

New version of the site, under construction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published