Add more instructions

This commit is contained in:
Alex
2022-07-25 11:23:48 +02:00
parent 0b392a6953
commit fe22e2d35a
2 changed files with 12 additions and 4 deletions

View File

@@ -89,6 +89,8 @@ To run Claper on your local environment you need to have:
* Postgres >= 9 * Postgres >= 9
* Elixir >= 1.13.2 * Elixir >= 1.13.2
* Erland >= 24 * Erland >= 24
* NPM >= 6.14.17
* NodeJS >= 14.19.2
You can also use Docker to easily run a Postgres instance: You can also use Docker to easily run a Postgres instance:
```sh ```sh
@@ -124,9 +126,17 @@ _(only if s3 is used)_ :
```sh ```sh
mix ecto.migrate mix ecto.migrate
``` ```
4. Start Phoenix endpoint with 4. Install JS dependencies
```sh ```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. Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.

View File

@@ -1,5 +1,3 @@
docker start claper-db
export $(cat .env | xargs) export $(cat .env | xargs)
mix phx.server mix phx.server