/devdir

Primary LanguageJavaScriptMIT LicenseMIT

DevDir

Setting up with Docker

Just install Docker, please ;)

Run the commands below in the project directory.

npm install

sudo docker-compose up -d

That is all you need to start up the docker containers

Using the API

Rename .env.example to .env and update with your custom configs The command above starts the app container and services in the background.

To view the app logs, get the container_id with docker ps then docker log -f {container-hash}.

TESTING

Get the container_hash with docker ps and Bash into the docker environment with

docker exec -it {containher_hash} bash

Then run

npm test

Yass! You are good to go!