Log management tool
Install Docker Desktop, Docker Compose, and Node
Clone down this repository. You will need git
, node
and npm
installed globally on your machine.
Create a .env
file using the template in the .env.template
file to set the environment variables.
You will need to ensure your machine meets the requirements for Docker Desktop. Follow this link to view setup documentation per your operating system.
If you are using macOS or Windows, Docker Compose is included as part of the Docker Desktop installation and does not need to be installed separately. For Linux systems, or if you have trouble running Docker Compose, follow this link to view further documentation and instructions for installing Docker Compose.
You will need to set the MONGODB_URL
variable in your .env file to mongodb://mongodb:27017/sherlogs
. If you alternatively want to use the Sherlogs application locally without Docker, you will need to create your own database and set the MONGODB_URL
to your personal database connection string.
Lastly, you will need to set the PORT
variable in the .env file to match the port that the node_container is running on, 8080
.
docker compose up
Remember to add the necessary environment variables.
Andrés Gutiérrez 👤 💻 |
Kylene Hohman 👤 💻 |
Felicity Nguyen 👤 💻 |
Crystal Pederson 👤 💻 |
MIT License Copyright (c) 2022 OSLabs Beta