- Ensure
npm
,node@10
are installed npm install
npm start
- Set environmental variables inside cypress.env.json in root folder
cypress.env.json
{
"baseUrl": "https://ipa.ucdavis.edu",
"username": "",
"password": ""
}
npm run cypress
to open the Cypress Test Runner
- Customize ipa-ucdavis-edu.env
- docker build -t ipa-client .
- docker run -p 9000:80 ipa-client
For production mode, you'll want to expose port 80 as port 80, 443 as 443. Use:
$ docker-compose run -p 80:80 -p 443:443 web
- Create a
clientConfig.js
file in the root folder, if copying from the example make sure to se the dw token - Go to AWS ECR >
ipa-client-test
- Follow the steps under
View push commands
- Go to AWS ECS > Clusters > Default >
ipa-client-test
- Update service to
Force New Deployment
- Create a
clientConfig.js
file in the root folder - Go to AWS ECR >
ipa-client-prod
- Follow the steps under
View push commands
- Go to AWS ECS > Clusters > Default >
ipa-client-prod
- Update service to
Force New Deployment