diff options
author | Lizzy Hunt <elizabeth.hunt@simponic.xyz> | 2023-03-15 16:46:13 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-15 16:46:13 -0600 |
commit | ea26c25543d1fbf10fd48ae9216597b59a050006 (patch) | |
tree | b9dc66f1fcb13891972915df9d00dcb9f7918b67 | |
parent | 21090101aa81a9c64f46f5db1132d5a1f01a205c (diff) | |
download | chessh-ea26c25543d1fbf10fd48ae9216597b59a050006.tar.gz chessh-ea26c25543d1fbf10fd48ae9216597b59a050006.zip |
Update README.md
-rw-r--r-- | README.md | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -24,19 +24,24 @@ git clone https://github.com/Simponic/chessh cd chessh cp .env.example .env +vim .env # Fill it out mf chmod 0700 .env - -# In one shell (after filling in your .env), start CheSSH export $(cat .env | xargs) + +# In one shell (after filling in your .env), migrate schema and start CheSSH mix ecto.create mix ecto.migrate -iex -S mix +mix deps.compile -# In another shell, start the frontend -export $(cat .env | xargs) +# Install frontend stuff cd front npm install npm start + +# Run the frontend and server concurrently! +cd .. +npm install -g concurrently +concurrently "mix run --no-halt" "cd front && npm start" ``` ## Architecture |