The documentation is built on every push to dev
Link to the documentation: https://ub-es-2021-f2.github.io/gripau/resources/index.html
- Pick one of your assigned tasks in the current sprint
- Create a new issue in the Github repository.
- The title of the issue has to start with US#X where X is the user story the task belongs to.
- Example Title "US#E.1 Add register validations in backend".
- Assign yourself to the issue.
- Label the task (frontend, backend, qa, devops...).
- Add the issue to the project "Tasks".
- Add the issue to the milestone that matches the current sprint (for example Sprint 2).
- Add a description that may contain:
- Initial time assigned to the task.
- Detailed explanation of the functionality to implmenent.
- Criteria for the reviewer/QA to check and verify.
- Submit the issue.
- Go into the "Tasks" kanban (Github repository -> Projects -> Tasks) and move your newly created issue to the "In Progress" column.
- Create a new branch from the branch "dev" and name it "issue#N" where N is the number of the issue you just created.
- Checkout the new branch in your local repository and start working in your task.
- Pull changes from the branch dev to your issue branch (issue#X) and make sure that the implemented functionality still works
- Create a new Pull Request from your branch issue#X to dev.
- Add at least 1 reviewer to the pull request (it is recomended that you add a team member that has the same role as you).
- Link the pull request to the issue you created at the begining.
- Update the issue's description with the final amount of time it took to complete it.
- (OPTIONAL) Assign yourself to the pull request.
- (OPTIONAL) Label the pull request.
DO NOT ADD THE PULL REQUEST TO THE PROJECT "TASKS" (KANBAN) OR THE SPRINT MILESTONE.
- Wait for the Pull Request to be reviewed.
- If the review was satisfactory and there are no additional changes required, merge the pull request.
- (RECOMENDED) Check that after merging the implemented functionalty works fine in the dev branch
- Close the issue and make sure that the issue is now in the Merged column in the Tasks kanban
- Make sure that node packet manager (npm) and python 3.X are installed on your machine
- Within a terminal execute the following commands from the directory
vue-gripau
in order to build the frontend:npm install
npm run build
- Within a terminal execute the following commands from the directory
flask-gripau
in order to configure and start the backend serverpip install -r requirements.txt
flask db init
flask db migrate
flask db upgrade
python app.py
python add_data.py
- Create a new PR from your changes in dev branch to production branch
- Merge the PR
- After the new changes are added, the new version should be deployed automatically to ub-jobify.herokuapp.com (it may take a minute), you can check the progress and the outcome on the Actions tab of the Github repo
This is what is automatically performed when a commit is submited to the production branch.
- Local API URL is replaced by Production API URL on
vue-gripau/src/index.js
. - The frontend project is built using
npm run build
. - The project is pushed to heroku.
Tests on the project are run on every PR to dev. You can run this tests manually in Actions > Docs > Manual Dispatch