diff --git a/README.md b/README.md index 98630a5..1d0a203 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,8 @@ To run Claper on your local environment you need to have: * Postgres >= 9 * Elixir >= 1.13.2 * Erland >= 24 +* NPM >= 6.14.17 +* NodeJS >= 14.19.2 You can also use Docker to easily run a Postgres instance: ```sh @@ -124,9 +126,17 @@ _(only if s3 is used)_ : ```sh mix ecto.migrate ``` -4. Start Phoenix endpoint with +4. Install JS dependencies ```sh - mix phx.server + cd assets && npm i + ``` +5. Allow execution of startup file + ```sh + chmod +x ./start.sh + ``` +6. Start Phoenix endpoint with + ```sh + ./start.sh ``` Now you can visit [`localhost:4000`](http://localhost:4000) from your browser. diff --git a/start.sh b/start.sh index 9f57dc1..c39a08f 100755 --- a/start.sh +++ b/start.sh @@ -1,5 +1,3 @@ -docker start claper-db - export $(cat .env | xargs) mix phx.server \ No newline at end of file