sudo pip install virtualenv
It is recommended to install it in a virtualenv environment like this :
virtualenv --no-site-packages my_optimus_projects cd my_optimus_projects source bin/activate pip install optimus
This way you can work safely on your projects within this environment without any change to your system.
sudo pip install optimus
Optimus has been developed for Linux systems, it works also on Windows and MacOSX but you should have some tasks that will differs from the present documentation.
Asset filters are used to process assets, mostly to compress them.
Default install comes without any compressor requirement. It is up to you to choose, install and use assets compressors in your asset bundles.
See webassets filters documentation for more details.
Webserver for development¶
You can install cherrypy, a simple Web server, to see your builded pages :
pip install cherrypy
Read Web server to see how to use it.
Enable i18n support¶
Then you will have to enable it by adding the Jinja2 i18n extension in your settings :
JINJA_EXTENSIONS = ( ... 'jinja2.ext.i18n', ... )
This is only for a new project manually created,
i18n project template already installs this for you.