An open API service indexing awesome lists of open source software.

https://github.com/agility/agility-website-gatsby

The Agility CMS Website - done in Gatsby
https://github.com/agility/agility-website-gatsby

Last synced: 3 months ago
JSON representation

The Agility CMS Website - done in Gatsby

Awesome Lists containing this project

README

          

## Agility CMS Website

[![Netlify Status](https://api.netlify.com/api/v1/badges/1e3a22cd-b3a8-483c-a1e4-156119f93119/deploy-status)](https://app.netlify.com/sites/agility-cms-website/deploys)

### Redirects

Redirects are located here: https://github.com/agility/agility-cms-website-preview-functions
.
### Local build for dev
```shell
gatsby develop
```

### to refresh local build:
```shell
curl -X POST http://localhost:8000/__refresh
```

### To clean out any cache
```shell
gatsby clean
```

### To build for production
```shell
NODE_ENV=production
gatsby build

```

### Deploy to Netlify (for testing)
```shell
netlify deploy --dir=public --open
```

### Run in Docker
```shell
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
```shell
docker build -f Dockerfile.dev -t {containerRegistryUrl}/agility-gatsby-dev .
docker login -u {username} -p {password} {containerRegistryUrl}
docker push {containerRegistryUrl}/agility-website-gatsby
```