Click here to read the presentation.
This is a short presentation into how design systems could be used to add automated testing, deployment pipelines, security audits, linting and better development practices.
Execute the following commands in terminal or command prompt window in design-system-example directory to build Application login page.
docker-compose build
docker-compose upOpen the application login page in your browser: localhost:8000.
Close the application by Ctrl-C in terminal or command prompt window
docker-compose down -vdocker-compose --project-directory . -f compose/test.yml run mocha
docker-compose --project-directory . -f compose/test.yml run jestExecute the following commands in terminal or command prompt window in design-system-example directory to build the test environment and start the acceptance tests. Stop your application before running the robot tests.
docker-compose --project-directory . -f compose/robot.yml run robot.backend ./wait-for robot.db:5432 -- npm run db:seed:all
docker-compose --project-directory . -f compose/robot.yml run robotpsql -c "CREATE ROLE example WITH CREATEDB LOGIN PASSWORD 'example'"
psql -c "CREATE DATABASE example WITH OWNER example"
psql -c "CREATE DATABASE example_test WITH OWNER example"cd backend
npm install
npm run devcd frontend
npm install
npm run devcd backend
npm testcd frontend
npm testansible-playbook provisioning/playbook.yml --private-key keys/hopefully-works-aws.pem -i provisioning/hosts.ec2 -u ubuntudocker run -d --restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher:latest --no-cacerts