diff --git a/README.md b/README.md index 90a3e869d3..5bd4c1dadc 100644 --- a/README.md +++ b/README.md @@ -34,18 +34,16 @@ puppeteer.launch({headless: false}); ## How to run ### Setup - - install synapse with `sh synapse/install.sh`, this fetches the master branch at the moment. If anything fails here, please refer to the synapse README to see if you're missing one of the prerequisites. - - install riot with `sh riot/install.sh`, this fetches the master branch at the moment. - - install dependencies with `npm install` (will download copy of chrome) - - have riot-web running on `localhost:8080` - - have a local synapse running at `localhost:8008` + +Run `sh install.sh`. This will: + - install synapse, fetches the master branch at the moment. If anything fails here, please refer to the synapse README to see if you're missing one of the prerequisites. + - install riot, this fetches the master branch at the moment. + - install dependencies (will download copy of chrome) ### Run tests Run tests with `sh run.sh`. -You should see the terminal split with on top the server output (both riot static server, and synapse), and on the bottom the tests running. - Developer Guide =============== diff --git a/install.sh b/install.sh new file mode 100644 index 0000000000..c4e6d6253e --- /dev/null +++ b/install.sh @@ -0,0 +1,3 @@ +sh synapse/install.sh +sh riot/install.sh +npm install