

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: Docker
incomplete
2: Continuous Deployment
incomplete
3: Google Cloud Platform
incomplete
4: Google Cloud SDK
incomplete
5: Google Artifact Registry
incomplete
6: Automate Builds
incomplete
This lesson's interactive features are locked, please to keep using them
We'll be using Docker to deploy Notely to Google Cloud Run. If you're not familiar with Docker, you should take our Learn Docker course here first.
Make sure you have Docker installed by running docker --version in your terminal. You should be on at least version 20.10.21.
./scripts/buildprod.sh
docker build -t DOCKERHUB_NAMESPACE/notely:latest .
DOCKERHUB_NAMESPACE should be replaced with your Docker Hub username.
docker run -e PORT=8080 -p 8080:8080 DOCKERHUB_NAMESPACE/notely:latest
Run and submit the CLI tests.
If you get an architecture or exec format error, that's probably because your machine is different than the intended Docker Container.
macOS
GOOS=linux GOARCH=arm64 go build -o notely .
docker build -t DOCKERHUB_NAMESPACE/notely:latest . --platform=linux/arm64
Use http, not https!
Creating a user on the Notely site is not expected to work yet, we haven't set up the database!