Inyoka default theme
Project description
On development systems:
Run git clone git@github.com:inyokaproject/theme-default.git next to the cloned Inyoka repository. (Basically, it doesn’t matter were you clone the theme repository, but for support reasons it might be better to use the same base folder like for Inyoka). After cloning the file-structure should look like:
$ tree -L 1 . ├── inyoka ├── theme-default └── maybe another-theme
Switch into the repository: cd theme-default
Activate source source ~/.venvs/inyoka/bin/activate
Install as a development package: python setup.py develop
Run npm install to install Grunt
Run ./node_modules/grunt-cli/bin/grunt watch to build all static files and watch for file changes on the CSS / JS files
On Production
- Run pip install -U "git+ssh://git@github.com:inyokaproject/theme-default.git@staging#egg=inyoka-theme-default"
Deployment
- Run npm install to install Grunt
- Run ./node_modules/grunt-cli/bin/grunt to build all static files
- Run manage.py collectstatic in your Django project
Let Django know about the theme
Add 'inyoka_theme_default' to the INSTALLED_APPS in inyoka/development_settings.py:
INSTALLED_APPS = INSTALLED_APPS + ( 'inyoka_theme_default', )