This repo stores the MyCrypto landing page.
- Node 12.x*
- Yarn >= 1.19.1**
*Higher versions should work fine, but may cause inconsistencies.
**npm is NOT supported for package management. MyCrypto Landing uses yarn.lock to ensure sub-dependency versions are pinned, so yarn is required to install node_modules
First, you must run yarn
to grab all the dependencies. If you are ever having trouble with something, a good place to start is by trying rm -rf node_modules/ && yarn
which will completely clear all your previously installs dependencies and re-install them from scratch.
Then, you can run various commands depending on what you want to do:
# run app in dev mode in browser, rebuild on file changes
yarn start
A development server will be available on https://localhost:8000
# builds production app version used on mycryptobuilds.com
yarn build
The static build is located inside the public
folder
A preview of the Landing is hosted on MyCryptoBuild.
Build is triggered when code is pushed on the master branch or when a pull request is submitted.
A preview of a PR is hosted on MyCryptoBuild. It can be found at https://landing.mycryptobuilds.com/pr/PR_NUMBER
A preview of a commit is hosted on MyCryptoBuild. It can be found at https://landing.mycryptobuilds.com/COMMIT_SHA
The landing page is MIT licensed.