- Add a new site to airship_sites
- add the landing root page. Set application.html layout and root.html template.
- add a superadmin user. It's easiest if you copy user1's password for your superadmin user. Also copy the created at from user1, this is needed for checking the hash
- add struts for the appropriate application.html layout and root.html template.
- make sure .env file is pointing to the right domain:
DEV_CNAME=pokebowls.airshipcms.io
- In the Airship terminal,
source .env
- while developing locally, make sure
/etc/hosts
is setup for pokebowls.airshipcms.io. In the hosts file:127.0.0.1 localhost pokebowls.airshipcms.io
- In Airship terminal,
env $(cat .env | xargs) gulp
- set up website pages and sections in
pokebowls.airshipcms.io:2233/admin
(or was itlocalhost:2233/admin
??)
- Gobally set up cli tools "Updating the Airship CLI" parts A and B in Running Airship Cli
In the PROJECT directory (not Airship directory. This is a NEW directory)...
- do "First Time Project Setup" to create the PROJECT .env file in Running Airship Cli
- airship login
env $(cat .env | xargs) airship login
- airship land
env $(cat .env | xargs) airship land [subdomain]
- set up a git repo
- airship
env $(cat .env | xargs) airship serve
- work on site locally a bit. View changes at
localhost:4000
. - push changes to git
- airship manifest
env $(cat .env | xargs) airship manifest [subdomain]
- airship launch
env $(cat .env | xargs) airship launch [subdomain]
- view site on staging
pokebowls.airshipcms.io:3899