SmartCompiler command guide

A quick-guide for helpful commands when you use Imagine SmartCompiler

Install

Install Imagine:

npm install -g imagine

Create

Create a Django app called myapp:

imagine create -f django -n myapp

Run

Run myapp:

make install && make run

Compile

Compile myapp to generate output files based on your .im config file:

imagine compile myapp.im

Test

Run the generated tests for myapp:

make coverage

Deploy

Create a docker build image:

docker-compose build

Check the generated docker builds:

docker images

Start docker images:

docker-compose up