Browse Source

update docs

Davide Alberani 7 years ago
parent
commit
31cbf1e203
1 changed files with 9 additions and 1 deletions
  1. 9 1
      README.md

+ 9 - 1
README.md

@@ -11,7 +11,7 @@ Basic workflow:
 
 It's recommended to login with username '''admin''' and password '''ibt2''', go to your personal page and change the password, if you've just installed ibt2.
 
-## Run, develop and debug
+## Install, run, develop and debug
 
 To install it:
 ``` bash
@@ -38,6 +38,12 @@ npm run build
 npm run server
 ```
 
+Now you can **point your browser to http://localhost:3000/** (that's the server for production)
+
+If you want, you can **share a link to a specific day**, specifying it in the *yyyy-mm-dd* format, like: http://localhost:3000/#/day/2017-01-20
+
+You can also **run the server in https**, putting in the *ssl* directory two files named *ibt2_key.pem* and *ibt2_cert.pem*
+
 To run a development environment:
 ``` bash
 # install dependencies (one time only)
@@ -53,6 +59,8 @@ npm run dev
 python ./tests/ibt2_tests.py
 ```
 
+Your browser will automatically open http://localhost:8080/ (that's the server for development)
+
 
 Development
 ===========