summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-10 13:41:09 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-10 13:41:09 +0200
commit593717b42da7f035cf1dbcb0c8af206a88123299 (patch)
tree5807d8f85d95949fafa28ae8f8a566d582de1e4f /README
parent98830751e669293bc6a210faa97901b62432fb83 (diff)
readme
Diffstat (limited to 'README')
-rw-r--r--README5
1 files changed, 2 insertions, 3 deletions
diff --git a/README b/README
index 2bf7071..a560478 100644
--- a/README
+++ b/README
@@ -7,7 +7,6 @@
```
npm install
brew install mysql (used for main database)
-brew install mongodb (used for sessions)
```
### MySQL
@@ -30,7 +29,7 @@ mysql -u carbon -p bucky < bucky-20150903.sql
### MongoDB
-Mongo is only used for session management and will ideally be replaced.
+MongoDB is used in production as session store, but another session middleware can be substituted (it would be nice to not use Mongo). By default `SESSIONS_IN_MEMORY=yes` in the .env will use the default memorystore from Express, but this is not ideal for something accessible publicly on the open internet.
### Berkeley DB
@@ -52,6 +51,6 @@ You may have to include the .so files for bdb: `export LD_LIBRARY_PATH=/var/www/
npm start
```
-Server will be running at http://lvh.me:5000/
+Server will be running at http://lvh.me:5000/ (or whatever port you set in the .env)