From 593717b42da7f035cf1dbcb0c8af206a88123299 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 10 May 2018 13:41:09 +0200 Subject: readme --- README | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'README') 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) -- cgit v1.2.3-70-g09d2