Skip to main content

Inyoka ubuntuusers theme

Project description

On development systems:

  1. Run git clone git@github.com:inyokaproject/theme-ubuntuusers.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-ubuntuusers
    └── maybe another-theme
  2. Switch into the repository: cd theme-ubuntusers

  3. Activate source source ~/.venvs/inyoka/bin/activate

  4. Install as a development package: python setup.py develop

  5. Run npm install to install Grunt

  6. 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

  1. Run pip install -U "git+ssh://git@github.com:inyokaproject/theme-ubuntuusers.git@staging#egg=inyoka-theme-ubuntuusers"

Deployment

  1. Run npm install to install Grunt

  2. Run ./node_modules/grunt-cli/bin/grunt to build all static files

  3. Run manage.py collectstatic in your Django project

Let Django know about the theme

Add 'inyoka_theme_ubuntuusers' to the INSTALLED_APPS in inyoka/development_settings.py:

INSTALLED_APPS = INSTALLED_APPS + (
    'inyoka_theme_ubuntuusers',
)

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page