Collabocate (Javascript)
SOFTWARE ENGINEERING CONTRIBUTING DOC FOR COLLABOCATE
Last updated
Was this helpful?
SOFTWARE ENGINEERING CONTRIBUTING DOC FOR COLLABOCATE
Last updated
Was this helpful?
Head over to the GitHub repository:
Fork and clone the repository as shown in the .
Find the local development instructions for the different Collabocate projects in the tabs below, depending on the one you want to develop locally.
Install project dependencies
Install dependencies:
First time setup instructions for GitHubSync [General]
Make a copy of the .env.example
file, then rename the copy to .env
- it is this renamed copy that you will store your secrets in. Ensure that the .env file is in the root of the project's directory.
First time setup instructions for GitHubSync [API server]
In the .env
file, supply:
The (GitHub) REPO API url of the repository the community's test/experiment repo in the .env
file as shown below (i.e. just copy and paste this in your .env file). Make sure to add it under/after the GITHUB_API_BASE_URL
environment variable so that the variable in the repo url can take effect:
The GitHub personal access token for accessing the repo url:
The port number of your choice (for the API server to run on) e.g.
First time setup instructions for GitHubSync [test client]
In the .env
file, supply:
The backend url as shown below (i.e. just copy and paste this in your .env file). This is what will help connect the client to the API server. Make sure to add it under/after the PORT
environment variable so that the variable in the backend url can take effect:
The port number of your choice (for the test client to run on) e.g.
Running the API server
Start the API server. In the root of the repository, run this in your terminal:
Running the test client
Start the client. In the root of the repository, run this in your terminal: