Skip to content

Latest commit

 

History

History
64 lines (41 loc) · 1.47 KB

README.md

File metadata and controls

64 lines (41 loc) · 1.47 KB

Deploy to production Code style

Majavashakki

The amazing Node.js sequel to the fantastic MaJAVAshakki (for Java). With this new version we are planning to add several new bugs and more unreadable code!

Browser compatibility

Majavashakki doesn't guarantee support for any specific browser. Chrome and Firefox may work.

Business hours

Mon-Fri 17-18

Sat 15-16

Sun Closed

Install Node

The officially supported version is 14.16.1

Install MongoDB using Vagrant

  1. Install Virtual Box and Vagrant
  2. Run vagrant up inside local-services directory

Install local MongoDB as windows service

https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/#get-mongodb-community-edition

  1. Created folders:

C:\MongoData C:\MongoData\db C:\MongoData\log

  1. Created yaml configuration file:

C:\MongoData\mongod.cfg content => ( systemLog: destination: file path: C:\MongoData\log\mongod.log storage: dbPath: C:\MongoData\db )

  1. Run from administrator cmd (from mongo installation bin folder or if env var exists)

mongod.exe --config "C:\MongoData\mongod.cfg" --install

Environment variables

Required

MajavashakkiSessionSecret

Optional

MajavashakkiMongoConnectionString

MajavaMongoPassword

MajavashakkiFbClientId

MajavashakkiFbSecret