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
- Host: GitHub
- URL: https://github.com/agility/agility-website-gatsby
- Owner: agility
- License: mit
- Created: 2020-03-17T20:01:39.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-18T14:02:04.000Z (over 1 year ago)
- Last Synced: 2025-04-10T22:44:05.527Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 8.25 MB
- Stars: 7
- Watchers: 3
- Forks: 6
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
## Agility CMS Website
[](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
```