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 up
Open the application login page in your browser: localhost:8000.
Close the application by Ctrl-C in terminal or command prompt window
docker-compose down -v
docker-compose --project-directory . -f compose/test.yml run mocha
docker-compose --project-directory . -f compose/test.yml run jest
Execute 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 robot
psql -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 dev
cd frontend
npm install
npm run dev
cd backend
npm test
cd frontend
npm test
ansible-playbook provisioning/playbook.yml --private-key keys/hopefully-works-aws.pem -i provisioning/hosts.ec2 -u ubuntu
docker run -d --restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher:latest --no-cacerts