This is the latest iteration on the Attract project. We are building a unified framework called Pillar. Pillar will combine Blender Cloud and Attract. You can see Pillar in action on the Blender Cloud.
Note that we only use the WOFF and WOFF2 formats, and discard the others supplied by Fontello.
After replacing the font files &
config.json, edit the Fontello-supplied
font.css to remove all font formats except
woff2. Then upload
it to css2sass to convert it to SASS, and
place it in src/styles/font-pillar.sass.
Don't forget to Gulp!
Make sure your /data directory exists and is writable by the current user.
Alternatively, provide a
pillar/config_local.py that changes the relevant
git clone firstname.lastname@example.org:pillar-python-sdk.git ../pillar-python-sdk pip install -e ../pillar-python-sdk pip install -U -r requirements.txt pip install -e .
The HDRi viewer uses Google VRView. To upgrade, get those files:
and place them in
You may also want to compare their
index.html to our
vrview_window.contentWindow.yaw(). This can be passed as
default_yaw parameter to
Pillar requires Celery for background task processing. This in turn requires a backend and a broker, for which the default Pillar configuration uses Redis and RabbitMQ.
You can run the Celery Worker using
manage.py celery worker.
Find other Celery operations with the
manage.py celery command.
If the language you want to support doesn't exist, you need to run:
translations init es_AR.
Every time a new string is marked for translation you need to update the entire catalog:
And once more strings are translated, you need to compile the translations:
To mark strings strings for translations in Python scripts you need to
wrap them with the
For .pug templates wrap them with