Running Locally¶
Requirements¶
- Git
- Node v8.4.0+
First steps¶
- Clone the repo:
git clone https://github.com/samcm/SyncLounge - Change to the directory:
cd synclounge - Install packages and dependencies:
npm install
Running the webapp¶
-
Build the webapp:
npm run buildNotes: This must be done anytime you change the
webrootsetting -
Run the webapp using
node webapp.jsDon't forget that you need to set Access URL as described in Getting Started.
The SL web app will be running at
http://ip:8088/orhttp://ip:8088/WEBROOTif you setwebroot.
Running the server¶
-
Run the server using
npm run serverThe SL server will be running at
http://ip:8089/slserver.