-
Notifications
You must be signed in to change notification settings - Fork 69
Development Setup
If you are reading this you are ready to contribute to c0d3.com!
To begin we will need to set up the code base on your own machine. To do this we will be creating a copy of the c0d3 GitHub repository.
-
Click on the button in the top right corner with the text
Fork
to create a copy of this repository.-
Notice in the top left corner of the screenshot above that it states that the repository was forked from garageScript/c0d3-app
-
Click on the "Clone or download" green button and copy the
ssh
orhttps
url. -
Navigate to your terminal and clone:
git clone url-goes-here
-
After cloning, you will want to change the current directory to the
c0d3-app
folder that was created. -
yarn install
to install all of the dependencies needed to run the app. -
Get
MAILGUN_API_KEY
from Credentials channel in Chat. Do not commit this API key or share it outside c0d3. -
PORT=3000 MAILGUN_API_KEY=<<YOUR_MAILGUN_API_KEY>> yarn run dev
to start our application locally. You can now navigate to http://localhost:3000/ in your browser and you will see the application.- To specify your own development backend service you must run your app with
SERVER_URL
env variable.- Example:
SERVER_URL=http://localhost:8083 yarn run dev
- Default backend currently: https://backend.c0d3.com.
- Example:
- To specify your own development backend service you must run your app with