I followed the instructions but that didnt end well:
At first, i tried with mysql, however, the mysql server service didnot start on my computer. Therefore, the last step “set up database” could not be finished.
So i switch to sqlite. This time, all went well, except i can not add user with the following error message:
E:\osjs>node bin/add-user.js add han admin
Using authenticator database at E:\osjs\src\server\node\modules\auth\database
(node:6088) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Cannot find module ‘mysql’
(node:6088) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.