Install pm2 globally
$ npm install pm2 -g
$ npm init
This will install the package
npm install git+https://github.com/spinalcom/spinal-browser-drive.git
the default config is the folowing:
{
"spinal-core-hub": {
"env": {
"SPINALHUB_PORT": 7777,
"SPINALHUB_IP": "127.0.0.1"
},
"env_test": {
"SPINALHUB_PORT": 7777,
"SPINALHUB_IP": "127.0.0.1"
},
"env_production": {
"SPINALHUB_PORT": 7777,
"SPINALHUB_IP": "127.0.0.1"
}
}
}
$ pm2 start launch.config.js
The drive is a browser application. To use it you need to access it via a browser (you may change the host/port corresponding to your .config.json
file):
http://127.0.0.1:7777/html/admin/index.html
The 3 basic account are :
Username | Password |
---|---|
admin | JHGgcz45JKilmzknzelf65ddDadggftIO98P |
root | 4YCSeYUzsDG8XSrjqXgkDPrdmJ3fQqHs |
user | LQv2nm9G2rqMerk23Tav2ufeuRM2K5RG |