Sample CompoundJS App with Redis for App42 PaaS Platform
- Setup infrastructure for required environment
- Create service
- Deploy a CompoudJS application
$ app42 setupInfra
$ app42 createService
DB Configure(application_root_dir/config/database.js)
production: {
driver: 'redis',
host: '<VM IP>',
port: <VM PORT>,
password: 'PASSWORD',
database: '0'
}
$ app42 deploy
$ app42 appInfo --app AppName
Visit your application: