#!/bin/bash

RAILS_ENV=production SECRET_KEY_BASE='toto est fluo' rails assets:precompile

SEMANTIC_LOGGER_APP=egr RAILS_ENV=production SECRET_KEY_BASE='toto est fluo' rails server

# journalctl --all -o cat --full -t egr
journalctl --all -o short --no-hostname -t egr -f

# TO REMOVE PROD assets
# rm -rf tmp/cache/assets