Read this first
Clone the project to your local machine
git clone [email protected]:VS-work/vs-website.git
Install dependencies
npm i
or using yarn yarn install
Start development server
npm run serve
Site will be available on 4200 port http://localhost:4200
Make your changes, make sure tests pass
npm t
Create PR, assign developers who can make code review. (ask your mentor, team/tech lead..);
All content is stored in json format. To change any data like Projects, Team, Vacancies, Feedback and Text on site just edit ts files in src/services/collections/ dir.
Team:
To hide team member on the /team page, set show: false in team.ts.
Leave member on the project page, but make him unclickable, remove url param.
Vacancies:
To hide vacancy on the /careers page, set show: false in vacancies.ts.
Check links below for details or setting up new keys:
Public key is stored in repo deploy_key.enc and private as env var on the Travis CI
Check deploy.sh for more details.
Because of using GitHub Pages to host site all you need is have write access to https://github.com/VS-work/vs-work.github.io repo for staging and to https://github.com/valor-software/valor-software.github.io for production.
- Make sure all your changes tested well, code was reviewed, tests and TSLint pass.
- Now you can run
npm run manual.deploy:stage
- Test app on https://vs-work.github.io/#/
- Run
npm run manual.deploy:prod
to publish on production. - Test on https://valor-software.com/#/