-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment Checklist
Home > Knowledge Base > Deployment Checklist
Below is a list of things you must review before deploying a Keystone app to the internet
See http://mongoosejs.com/docs/guide.html#indexes
When your application starts up, Mongoose automatically calls ensureIndex for each defined index in your schema. While nice for development, it is recommended this behavior be disabled in production since index creation can cause a significant performance impact. Disable the behavior by setting the autoIndex option of your schema to false.
###2G of Memory Recommended Due to at least 1 dependency (mentioned here)- make sure you have at least 2G of RAM available on your build machine.
###Running KeystoneJS in Production
When you deploy your KeystoneJS app to production, be sure to set your ENV environment variable to production. You can do this by setting NODE_ENV=production
in your .env file, which gets handled by dotenv.
Setting your environment enables certain features, including template caching, simpler error reporting and html minification, that are important in production but annoying in development.
Home | Copyright © 2016 Jed Watson