studiombois / agility-website-gatsby

The Agility CMS Website - done in Gatsby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Agility CMS Website

Netlify Status

Redirects

Redirects are located here: https://github.com/agility/agility-cms-website-preview-functions

Local build for dev

gatsby develop

to refresh local build:

curl -X POST http://localhost:8000/__refresh

To clean out any cache

gatsby clean

To build for production

NODE_ENV=production
gatsby build

Deploy to Netlify (for testing)

netlify deploy --dir=public --open

Run in Docker

docker build -f Dockerfile.dev -t agility-website-gatsby .

docker run -p 80:80 --name agility-website-gatsby agility-website-gatsby
#{OR}
docker-compose up --build

Publish to Docker Container Registry

docker build -f Dockerfile.dev -t {containerRegistryUrl}/agility-gatsby-dev .
docker login -u {username} -p {password} {containerRegistryUrl}
docker push {containerRegistryUrl}/agility-website-gatsby

About

The Agility CMS Website - done in Gatsby

License:MIT License


Languages

Language:JavaScript 55.7%Language:SCSS 43.7%Language:CSS 0.6%