1.0.0 • Published 1 year ago
schenim v1.0.0
oxs-server
Dockerized Usage
Pre-running
- Install Docker Desktop
- (linux only) Install Docker Compose
- Install the Remote Development extension pack
after you have those you can then click the bottom left icon
and click Reopen in container
this will reopen the vscode, and 3 containers will be created
- oxs-server (on the first time all the npm packages will be installed)
- redis
- mongodb
the redis DNS name is: redis the mongodb DNS name is: db
there is also port forrwording to your local mechine you can see those under the ports tab
App:
set on env file:
DB_NAME='schenim?authSource=admin'
DB_IP='db:27017'
REDIS_HOST = 'redis'
npm run dev
Open Browser:
Admin:
Run Admin Server:
npm run admin
Build Admin Client:
cd admin
npm run build
Open Browser:
1.0.0
1 year ago