This repo contains the source code for the IsomerCMS frontend.
The frontend is built using React and hosted on Netlify. The frontend interacts with the IsomerCMS backend server, which in turn calls GitHub APIs to modify code in the users' Isomer website repo.
source .env
npm install
npm run start
To setup, follow these instructions:
brew install gitguardian/tap/ggshield
.env
file# Service API key from GitGuardian account
export GITGUARDIAN_API_KEY=abc123
Notes:
Only if necessary,
$ git commit -m "commit message" -n
$ SKIP=ggshield git commit -m "commit message"
Add the following Cypress environment variables:
Add the following environment variables which we use to reset our test repo:
e2e-test-repo
to)Run the following:
source .env
npm run test-e2e
If you would like the Cypress UI, run
npm run cypress:open
For more information on setup, read the cypress/SETUP.md
Run the following on the release branch to tag and push changes automatically:
npm run release --isomer_update=<versionType>
where versionType corresponds to npm version types. This only works on non-Windows platforms, for Windows, modify the release script to use %npm_config_update% instead of $npm_config_update.