A tools suite for Atuin Web Framework.
1.5K
In modern days we use lots of different tools to build assets, compile js, minification and such. This container simplifies it by creating an environment which runs gulp and all the tools needed to build the app/static/min folder of Atuin Web Framework.
GULP TASKS
default | help
Shows the available tasks
update
Dependencies management.
It updates the dependencies specified in the requirements.txt file.
monitor [--type production]
Real time check for css and js.
It handles errors and rebuilds the minified and compiled files.
--type productioncompress css and obfuscate js.
prepare-deploy
Preare static files to being deployed: minification and uglification of files.
clean[:min|:css|:js|:img]
Cleans files.
From all project clean: *.pyc *.pyo *.~
:min Clean all minified fiels app/static/min
:css Clean minified CSS app/static/min/css
:js Clean minified JS app/static/min/js
:img Clean optimized img app/static/min/img
LOCALIZATION SUBSYSTEM
translations<:extract|:update|:compile|:init>
Manages translations. Each language must be initialized using :init.
:extract Extracts translations from source
:update Updates translations messages files for every language
:compile Compiles messages.po files for every language
:init --lang <code> Initialize a new language. Code must be language code like 'en', 'de', ...
In order to finalize static files before the application deployment
docker-compose run --rm tools gulp prepare-deploy
This will minify, uglify and compress (production mode) the project's static files to be ready for the deployment.
Of course. Use as a sample, ask us anything. But be careful, this is made specifically for Atuin Web Framework. If you use it let us know any feedback.
This container is automatically built on Docker Hub
Content type
Image
Digest
Size
129.3 MB
Last updated
almost 8 years ago
docker pull atuinframework/atuin-tools