Open alanshaw opened 8 years ago
Create a new github repo
:robot:
Create the website, ensuring it has an npm script called build in it's package.json file e.g.
build
{ "name": "bobs-sprockets", "version": "1.0.0", "scripts": { "build": "npm-run-all build:*", "build:css": "..." }, "dependencies": { "npm-run-all": "^1.2.11" } }
npm run build
/dist
Add TABS and TARS as project collaborators (note access levels in screenshot):
Add webhooks for TABS and TARS:
TABS
TARS
Obtain secrets from the secrets.yaml file for each infrastructure project
Add a new Nginx config for the site to tars-infrastructure. e.g.
marmalade.conf
server { server_name www.marmalade-productions.co.uk marmalade-productions.co.uk; listen 80; listen [::]:80; location / { root /home/tars/tars/release/tableflip/marmalade-productions; } }
TODO: Document content.json and schema.json and where they should appear
content.json
schema.json
TUNE errors if there is no pages dir
pages
changes are made OK then will error if there is no pages dir
Create a new github repo
:robot:
Create the website, ensuring it has an npm script called
build
in it's package.json file e.g.npm run build
should output your static site to a folder in the root of the project named/dist
Add TABS and TARS as project collaborators (note access levels in screenshot):
Add webhooks for TABS and TARS:
TABS
TARS
Obtain secrets from the secrets.yaml file for each infrastructure project
Add a new Nginx config for the site to tars-infrastructure. e.g.
marmalade.conf