You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 16, 2020. It is now read-only.
Qasim Iqbal edited this page Feb 19, 2016
·
15 revisions
Contributing
Contributing to Cobalt is really easy. Find or open an issue that you'd like to try and implement or fix, and then fork this repository to your own GitHub account.
Requirements
Ensure that the following software has been installed on your server:
You'll need to set the following environment variable (refer to this guide if you're unsure how to do so).
COBALT_MONGO_URI : the MongoDB connection URI used to connect to your MongoDB database server (ex. mongodb://localhost/cobalt). This database will have Cobalt's datasets synced to it automatically when you run Cobalt.
PORT(optional) : the port Cobalt will listen to for incoming connections. Default: 4242
Starting
$ npm run dev
Developing
You can now make changes to the source code. Cobalt will automatically reload itself as you make changes to files in the src/ directory.
Testing
$ npm test
Submitting
Once you have finished your feature/fix, push it to your forked repository and submit a pull request detailing your changes.