From 7791646b60ef6eac1743b2d200a6af866c088336 Mon Sep 17 00:00:00 2001 From: Alexis Hernandez Date: Sun, 8 Jul 2018 11:58:27 -0600 Subject: [PATCH] server: Update README.md --- server/README.md | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/server/README.md b/server/README.md index bdeb258..df0809a 100644 --- a/server/README.md +++ b/server/README.md @@ -9,26 +9,7 @@ * Set the credentials to access a postgres database. -* Replace `play.modules.enabled += "com.xsn.explorer.modules.SeederModule"` with `play.modules.enabled += "com.xsn.explorer.modules.PollingSeederModule"`. - 3. Run the application with: `sbt run` ## Test Run the `sbt test` command to execute the tests. - -## Deploy - -This assumes that you have the following: -- A linux-based virtual machine prepared with Java 8 and a systemd service called `xsn-backend`. -- A system level user called `play` which belogs to the group `nogroup`. - -### Client side -- Package the application: `sbt dist` -- Upload the application: `scp target/universal/xsn-block-explorer-0.1.0-SNAPSHOT.zip $SERVER_IP:~/` -- Login into the server: `ssh $SERVER_IP`. - -### Server side -- Unpack the application: `sudo unzip ~/xsn-block-explorer-0.1.0-SNAPSHOT.zip -d /home/play/server` -- Update configuration: `sudo vim /home/play/server/xsn-block-explorer-0.1.0-SNAPSHOT/conf/application.conf` -- Give permissions: `sudo chown -R play:nogroup /home/play/server` -- Restart the service: `sudo service xsn-backend restart`