Home - senior-design-marketplace/vue-typescript-client GitHub Wiki
Welcome to the Marqetplace Vue Frontend Wiki!
Pages
General
Components
- TODO
Views
Workflow, Continuous Integration, and Deployment
Running locally
git clone
the repo locally.- cd into the directory and run
npm i
to install required modules. - The Vue service can then be run locally using
npm run serve
. - If you navigate to the url provided in the terminal (typically
http://localhost:8080/
) you will see a hot-loaded version of your local development build. - You can run the linter using
npm run lint
. This is very useful for automatically making the code up to the coding standards put in place.
Pushing changes
This project follows the local dev -> staging -> production
workflow.
It is recommended to make separate branches for each feature or feature subset. After your changes are run by Travis CI and are passing you can open a new pull request onto the staging branch. If the pull request is accepted, Travis CI will run and deploy the build on the staging environment.
If the build is stable and runs as expected, then you make a pull request onto the master branch. Make sure to link issues to the pull request to master so that the issues are closed upon merging. Travis will then build and deploy on the production environment.
Your changes are now on the live version of Marqetplace. However, it may take up to a day for CloudFront to update marqetplace.xyz. This can be pushed immediately by invalidating the version that is currently on CloudFront, forcing the new version.