Once you bootstrap and enter your project, fetch your dependencies and start the build server. The server is available at http://localhost:4999
cd kalyna
mix deps.get
mix tableau.server
Posts and pages that are not ready for production can be saved to the _drafts
and _wip
directories respectively.
These are controlled via application configuration, as seen in config/dev.exs
and config/prod.exs
To build for production, run the mix build
alias to build your site and compile any assets (depends on what asset you chose when generating your site).
Running your build with MIX_ENV=prod
is important so that the live reload JS script is not loaded, and also allows you to configure your app differently in dev vs prod, like showing future posts in dev, but not in prod.
MIX_ENV=prod mix build