Content Management System for YGOSalvation based on Strapi
-
Install MongoDB as a service.
-
Make sure MongoDB is running. It should appear as a service in Task Manager.
-
Install Nodist
-
Set Nodejs to version 10 or higher.
nodist 10
-
Setup a MongoDB user
- On Windows make sure the
C:\data\db
folder is created. - Make sure MongoDB is running.
- Inside the folder containing
mongodb.exe
, open the mongodb REPL.bin/mongo
for Windows.
use admin db.createUser({ user: "user" , pwd: "password", roles: ["userAdminAnyDatabase", "dbAdminAnyDatabase", "readWriteAnyDatabase"]})
- On Windows make sure the
-
Use
.env.sample
to a create a.env
file with the proper configurations, be sure to scramble and save the two keys.nodist 10 npm install cd src npm install
npm run start
- In browser open http://localhost:1337/admin
- Create inital Admin account.
- Create a second account for Server Administration.
- Create Permission called
Server
. - Add permissions so
Server
can see and editusers
,decks
,replays
. - Add permissions so
Public
can seeupdates
andbackgrounds
.