0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
No active XP Potion
Accept a Quest
Login to submit answers
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
. The project starter includes a prebuilt Dockerfile just for this project.
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
Set the --platform
flag to linux/arm64
in the Dockerfile
or when running the docker build
command.
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!
The Boot.dev CLI requires you to be signed in to submit your solution!
Copy/paste one of the following commands into your terminal:
Run
bootdev run b0a16bb9-77e4-4b34-b19e-3d553d51df05
Submit
bootdev run b0a16bb9-77e4-4b34-b19e-3d553d51df05 -s
To run and submit the tests for this lesson, you must have an active Boot.dev membership
Using the Bootdev CLI
The Bootdev CLI is the only way to submit your solution for this type of lesson. We need to be able to run commands in your environment to verify your solution.
You can install it here. It's a Go program hosted on GitHub, so you'll need Go installed as well. Instructions are on the GitHub page.