[1] For STAGING make sure your .env
looks like this:
AIRSHIP_API="http://truffaux.airshipcms-alpha.io"
AIRSHIP_SUBDOMAIN_HOST="airshipcms-alpha.io"
AIRSHIP_PORT=4000
[2] Run this command from anywhere, to download the latest server files:
curl https://s3-us-west-1.amazonaws.com/install.airshipcms-alpha.io/airship-server.tar.bz2 | tar -xvj -C /usr/local/lib/airship
[3] Run this command from anywhere, to download the latest cli tools for STAGING:
curl https://s3-us-west-1.amazonaws.com/install.airshipcms-alpha.io/Mac64/airship-alpha > /usr/local/bin/airship-alpha
[4] Run this. It makes the static file executable.
chmod +x /usr/local/bin/airship-alpha
[5] Running airship commands looks slightly different, like this (note that it's airship-alpha instead of just airship now):
env $(cat .env | xargs) airship-alpha serve
[1] For PRODUCTION make sure your .env
looks like this:
AIRSHIP_API="https://truffaux.airshipcms.io"
AIRSHIP_SUBDOMAIN_HOST="airshipcms.io"
AIRSHIP_PORT=4000
[2a] Make sure you have the main airship directory set up in your /usr/bin
mkdir -p /usr/local/lib/airship/
[2b] Run this command from anywhere, to download the latest server files:
curl https://s3-us-west-1.amazonaws.com/install.airshipcms.io/airship-server.tar.bz2 | tar -xvj -C /usr/local/lib/airship
[3] Run this command from anywhere, to download the latest cli tools for PRODUCTION:
curl https://s3-us-west-1.amazonaws.com/install.airshipcms.io/Mac64/airship > /usr/local/bin/airship
[4] Run this. It makes the static file executable.
chmod +x /usr/local/bin/airship
[5] Running airship commands looks like this:
env $(cat .env | xargs) airship serve
[1] For PRODUCTION make sure your .env
looks like this:
AIRSHIP_API="http://truffaux.airshipcms.io"
AIRSHIP_SUBDOMAIN_HOST="airshipcms.io"
AIRSHIP_PORT=4000
[2]Run airship commands like normal, though using the staging http version.
env $(cat .env | xargs) airship serve