ping-server-provisioner
v1.0.3
Published
Provisioner for CodeZero, for the ping-server project
Downloads
2
Readme
Ping Server Provisioner for CodeZero
The provisioner needs to be published to npm.
> npm login
Username: robbelovell
Password:
Email: (this IS public) [email protected]
Logged in as robbelovell on https://registry.npmjs.org/.
> npm publish
npm notice
npm notice 📦 [email protected]
npm notice === Tarball Contents ===
npm notice 176B .gitmodules
npm notice 754B package.json
npm notice 647B src/ui/rtsconfig.json
npm notice 542B tsconfig.json
npm notice 85B README.md
npm notice 127B src/config.ts
npm notice 2.0kB src/mixins/createApply.ts
npm notice 176B src/mixins/createInquire.ts
npm notice 414B src/index.ts
npm notice 155B src/mixins/index.ts
npm notice 897B src/ui/index.ts
npm notice 553B k8s/deployment.yaml
npm notice 267B k8s/service.yaml
npm notice === Tarball Details ===
npm notice name: ping-server-provisioner
npm notice version: 1.0.1
npm notice package size: 2.6 kB
npm notice unpacked size: 6.8 kB
npm notice shasum: 68d2793feb46c2c1e86c60c8df325e9cd39226db
npm notice integrity: sha512-lWrZkU5QggIIK[...]7iiHPao+oxNDA==
npm notice total files: 13
npm notice
+ [email protected]
Go to the codezero hub and create an application. Use the name of this package as the provisioner name.
Now add an edition to the application...
once an edition is added, you should be able to find it in the marketplace. You can also set a category in the metadata section.
Launching
To launch your app in your own cloud, you need to go to the My Clouds and add a cloud.
Right now, you need to have a digital ocean account. You will be asked to setup an account.
You will be lead thorugh to create a digital ocean account and add a credit card. Don't do any other things in Digital Ocean because everything you need to do is in CodeZero.
Now, back in CodeZero, create your own personal view onto your digital ocean cloud. This is your "Marina" or desktop view of your CodeZero Cloud (like an operating system view into your cloud)
Goto the MarketPlace and find your application. Hi
Troubleshooting
This error occurs if you haven't given your credit card:
incident id:01EHZ9ZSD9469JBYHNZ83TF5EY scope: iaas.afterCreateHook message: Data does not match schema stack: BadRequest: Data does not match schema at new BadRequest (/usr/traxitt/server/node_modules/@feathersjs/errors/lib/index.js:86:17) at Object. (/usr/traxitt/server/node_modules/feathers-hooks-common/lib/services/validate-schema.js:50:13) at /usr/traxitt/server/node_modules/@feathersjs/commons/src/hooks.ts:132:47 at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) at Object.exports. (/usr/traxitt/server/lib/services/clusters/iaas.js:1:9162)
Debugging provisioning
node --inspect-brk ../node-monorepo/packages/tools/cli/lib/index.js provision ./c6o/application.yaml --local -n myspace7