This repository was archived by the owner on Feb 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 85
Quick Start Guide
Christian Smith edited this page Jun 10, 2014
·
4 revisions
-
Install CLI
`$ npm install -g anvil-connect` -
Generate a deployment repository
`$ nv init deployment` -
Install npm dependencies
`$ npm install` -
Configure environments (optional)
`{}` -
Initialize development database
`$ nv init db` -
Create a privileged user
``` $ open <authorization-uri> $ nv assign <email> authority ``` -
Run the server
`$ node server.js` -
Customize the server
-
Complete development steps
-
Create a project on modulus
-
Set key pair environment variables. Copy
keys/private.pemto theANVIL_CONNECT_PRIVATE_KEYenvironment variable. Copykeys/public.pemto theANVIL_CONNECT_PUBLIC_KEYvariable.$ nv copy keys/private.pem $ nv copy keys/public.pem
-
Configure production environment
`{}` -
Deploy
`$ modulus deploy`