Author's:
- Install and open the Docker Desktop Application
- Verify the install by opening a terminal and running
docker info
- In your terminal, Run
docker pull postgres
- In your terminal, Run
cd the-brink
- Run the following command:
docker image build -t pitch-suite-react-image:latest .
You can verify the images were created in two ways:- In the Docker Desktop Application, naviagte the the Images Tab. You should now see some images for the frontend of the application and the database of the application.
- Run
docker images
to see a list of all of the images you've created.
- Run
docker-compose up
- You should get a message that the project was compiled successfully and you can now view the-brink in your browser.
- Navigate to http://localhost:3000 to view the project. The project is now running entirely through containers.
From here there is more work to be done with the database. We need to explore how to manipulate the database in our app files.