mytechjobs icon indicating copy to clipboard operation
mytechjobs copied to clipboard

Add Makefile and update README.md

Open farhan-helmy opened this issue 1 year ago • 2 comments

Summary

Added Makefile to make people life easier setup this repo on local. Running make will executes a Docker command that spins up mongodb on your local, also exposes the port 27017.

It also will spin up Supertokens docker container however I haven't test this yet.

The Makefile also will create mydb database inside mongo, so what left for you to do is run:

cp .env.example .env.local

Update .env.local to this MONGO_DB_URI="mongodb://myuser:mypassword@localhost:27017" MONGO_DB_NAME="mydb"

Running on local success

image

farhan-helmy avatar Apr 18 '23 17:04 farhan-helmy