Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 549 Bytes

README.md

File metadata and controls

34 lines (28 loc) · 549 Bytes

Warhammer 40k Campaign manager

Install:

$ cd client; npm install
$ cd ../server; npm install

Setup local environment file

$ touch server/.env

# .env
mongo_url="mongodb://user:pass@host:port"

Seed database

$ mongorestore ./campaign40k --db campaign40k -u USER -p PASS --drop --authenticationDatabase admin

or

mongoimport --db campaign40k --collection gameStates --file gameStateSeed.json -u USER -p PASS --authenticationDatabase admin

Run Client

npm start

Run Server

npm run dev