Skip to content

joelvarty/gatsby-agility-sync

Repository files navigation

Gatsby Sync Example

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-gatsby-dev .

docker run -p 80:80 --name agility-gatsby-dev agility-gatsby-dev
#{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-gatsby-dev

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published