To set up the development environment,
git clone https://github.com/datares/website.git && cd website
nvm use
yarn install
yarn start
which installs all the dependencies and starts the website on http://localhost:3000
.
When creating a new branch in git, please name the branch using the following format, <your name>/<jira-ticket>
. For example our Jira project key is "DWEB", and this should be followed by the ticket number, so for the first ticket I would want to name the branch colin/DWEB-1
. You'll also want to assign yourself to the ticket.
Before pushing, please ensure the app builds using yarn build
, because otherwise the CI/CD will reject your changes. Also, ensure your code passes the linter to maintain style guidelines.
When you're done developing your feature, please make a pull request on GitHub to trigger our testing suite.
We host the website on Netlify under the domain ucladatares.com
. When a new pull request is merged into the master branch, the website is automatically rebuilt and deployed to Netlify.