The CMS behind CodePilot.
It was built in a weekend.
This project is currently in heavy development and things might be horribly broken. Make sure you have Node.js (& NPM), MySQL, and Redis installed and running.
- Copy
app/config.example.jsontoapp/config.json. Inapp/config.json, fill in your MySQL details, Twitter OAuth information, and S3 details. If the database schema changes, openapp/models/index.jsand set theforceDatabaseUpgradeproperty to true. Restart the server, and the dabatase will be wiped and updated to the new schema, and seeded with dummy data. - Run
npm installThis'll take a while as it fetches CodePilot's dependencies. - Run
npm start. Assuming everything is okay, you'll be able to access CodePilot athttp://localhost:3000/. - If you want data to be seeded on database upgrade, copy
app/models/fixtures.example.jsontoapp/models/fixtures.json. You can modifyapp/models/fixtures.jsonas necessary to change the dummy data to fit your needs. (Optional)
When you make a change, you will have to stop the server by pressing ^C, and then start it up again.
TypeError: Uncaught, unspecified "error" event.
This is most likely caused because your MySQL 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.
TypeError: Cannot read property 'sequelize' of undefined
b36b0b introduced a new config option.
Update your config.json file to match the latest config.example.json template.
Special thanks to: (in no particular order)
| Contributor | GitHub | |
|---|---|---|
| Will Smidlein | ws | ws |
| Joe Torraca | jtorraca | jtorraca |
| Lenny Khazan | LennyKhazan | LennyKhazan |
| Ross Penman | rosspenman | PenmanRoss |
| Charley Hutchison | glenwayguy | glenwayguy |
| Nick Frey | NickFrey | NickFrey |
| Daniel Tomlinson | DanielTomlinson | dantoml |