This repository has been archived by the owner on May 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Home
Qasim Iqbal edited this page Jan 7, 2016
·
15 revisions
Contributing to Cobalt is really easy. Find an issue that you'd like to try and fix, and then fork this repository to your own GitHub account.
Ensure that the following software has been installed on your server:
git clone https://github.com/<USER>/cobalt.git && cd cobalt
npm install
You'll need to set the following environment variables (refer to this guide if you're unsure how to set new environment variables).
-
COBALT_PORT
: The port at which you would like to deploy Cobalt (ex.4242
) -
COBALT_MONGO_URI
: the MongoDB connection URI used to connect to your MongoDB database server (ex.mongodb://localhost/cobalt
)
To start your local instance:
npm start
You can now make changes to the source code. To test your changes:
npm test
Once you have finished your feature/fix, push it to your forked repository and submit a pull request detailing your changes.