An example Javascript project that is configured for development in Coder.
Folder structure includes:
- .coder/coder.yml - a workspace template file
- .coder/img/ - a Docker image with the necessary dependencies (Node 15, Gatsby 4, yarn)
- .github/workflows/build-image.yml - GitHub action to build & push the image to the Docker Hub
- src/ the project files
To open in YOUR coder deployment, visit:
https://[your Coder URL]/wac/build?template_oauth_service=github&template_url=https://github.com/bpmct/company-blog&template_ref=main&template_filepath=.coder/coder.yaml)
Tested in Coder v.1.19 โ
-
Open Terminal or Web IDE
-
Navigate to the project (if you opened the terminal)
cd company-blog
-
Start developing
gatsby develop
All dependencies will be installed