Live site can be found at https://security.mycrypto.com.
To build this project locally, you need to have Node.js installed. Clone the project with Git and run:
$ cd security.mycrypto.com
$ yarn install
$ gulp (if this fails, make dependancy gulp@3.9.1 and rerun yarn install)
This will run Gulp to build the project and watch for changes. You can open dist/index.html to view your local copy.
- Open 2 terminal windows
- On the first terminal, be in
./distand run;- Create a new git repo:
git init - Add the same remote:
git remote add dist git@github.com:MyCryptoHQ/security.mycrypto.com.git - Checkout into the current live version:
git checkout gh-pages - Create a new branch for the release:
git checkout -b gh-pages-release-<date>
- Create a new git repo:
- On the second terminal, be in
./and rungulpto build the project
- On the first terminal, be in
- Check to see if the build was successful by opening
./dist/index.htmlin the browser - Navigate to the first terminal
- Add all the changed files:
git add . - Commit them:
git commit -m "Compile for release - Push to remote:
git push dist gh-pages-release-<date>
- Add all the changed files:
- Now create a PR from
gh-pages-release-<date>intogh-pages(like: MyCryptoHQ/about.mycrypto.com#42) - Get Infra to clear CF caches (project is live at https://mycryptohq.github.io/security.mycrypto.com/ without this though)