From 3cf075e3a95e12bfebe922489e826fca8cdd7a47 Mon Sep 17 00:00:00 2001 From: Kailash Nadh Date: Tue, 14 May 2019 20:53:54 +0530 Subject: [PATCH] Add deps to dev docs --- README.dev.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.dev.md b/README.dev.md index 90a4812..c95da9b 100644 --- a/README.dev.md +++ b/README.dev.md @@ -6,13 +6,12 @@ There are two independent components, the Go backend and the React frontend. In 1. Write `config.toml` 2. Run `listmonk --install` to do the DB setup. -3. Run `make deps` to install React / frontend dependencies # Dev environment ### 1. Run the backend -`make run` +`make deps` (once, to install dependencies) and then `make run` ### 2. Run the frontend @@ -45,7 +44,7 @@ Visit `http://localhost:9001` to access the frontend running in development mode 1. To build the Javascript frontend, run `make build-frontend`. This only needs to be run if the frontend has changed. -2. `make build` builds a single production ready binary with all static assets embeded in it. +2. `make build` builds a single production ready binary with all static assets embeded in it. Make sure to have installed the dependencies with `make deps` once. ---