Update README.md
This commit is contained in:
parent
21090101aa
commit
ea26c25543
15
README.md
15
README.md
@ -24,19 +24,24 @@ git clone https://github.com/Simponic/chessh
|
|||||||
cd chessh
|
cd chessh
|
||||||
|
|
||||||
cp .env.example .env
|
cp .env.example .env
|
||||||
|
vim .env # Fill it out mf
|
||||||
chmod 0700 .env
|
chmod 0700 .env
|
||||||
|
|
||||||
# In one shell (after filling in your .env), start CheSSH
|
|
||||||
export $(cat .env | xargs)
|
export $(cat .env | xargs)
|
||||||
|
|
||||||
|
# In one shell (after filling in your .env), migrate schema and start CheSSH
|
||||||
mix ecto.create
|
mix ecto.create
|
||||||
mix ecto.migrate
|
mix ecto.migrate
|
||||||
iex -S mix
|
mix deps.compile
|
||||||
|
|
||||||
# In another shell, start the frontend
|
# Install frontend stuff
|
||||||
export $(cat .env | xargs)
|
|
||||||
cd front
|
cd front
|
||||||
npm install
|
npm install
|
||||||
npm start
|
npm start
|
||||||
|
|
||||||
|
# Run the frontend and server concurrently!
|
||||||
|
cd ..
|
||||||
|
npm install -g concurrently
|
||||||
|
concurrently "mix run --no-halt" "cd front && npm start"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Architecture
|
## Architecture
|
||||||
|
Loading…
Reference in New Issue
Block a user