The CMS behind CodePilot.
It was built in a weekend.
Installing CodePilot CMS
app/config.json, fill in your MongoDB details, Twitter OAuth information, and S3 details.
npm installThis'll take a while as it fetches CodePilot's dependencies.
npm start. Assuming everything is okay, you'll be able to access CodePilot at
When you make a change, you will have to stop the server by pressing
^C, and then start it up again.
Common Errors and how to fix them
TypeError: Uncaught, unspecified "error" event.
This is most likely caused because your MongoDB server is not running. Start the server and try again.
Error: OAuthStrategy requires session support. Did you forget app.use(express.session(...))?
This is caused by your Redis server not running. Start your Redis server using the
redis-server command and try again. Make sure to restart the app after you've done this.
There are two ways to specify configuration options for the CodePilot CMS.
app/config.jsonand edit the settings appropriately. These will be the default settings if not specified elsewhere.
- Command Line Arguments: When starting the application, specify the configuration option as a command line argument like so:
--<key> <value>. If the key is specified in the command line and
config.json, then the command line argument value will be used.
To test the app, run
make test, or
Special thanks to: (in no particular order)