From ea9d5f7c5a3b3a1dd93ab99f34591e50b91d5712 Mon Sep 17 00:00:00 2001 From: Jason Hsu Date: Fri, 25 Sep 2020 20:35:24 -0500 Subject: [PATCH] Removed testc and testm; made the requested changes to the order of the scripts in the summary section --- docker/README.md | 12 ++++++------ docker/testc | 19 ------------------- docker/testm | 19 ------------------- 3 files changed, 6 insertions(+), 44 deletions(-) delete mode 100755 docker/testc delete mode 100755 docker/testm diff --git a/docker/README.md b/docker/README.md index c6587202d2..1c56f546d7 100644 --- a/docker/README.md +++ b/docker/README.md @@ -44,11 +44,11 @@ $ docker/server ## Script Summary * docker/build: This script builds the Docker containers specified for this app, seeds the database, and logs the screen output for these operations. After you use "git clone" to download this repository, run the docker/build script to start the setup process. -* docker/cop: This script runs RuboCop. -* docker/exec: Use this script to run commands within the Docker container. If you want shell access, enter "docker/exec bash". To execute "ls -l" within the Docker container, enter "docker/exec ls -l". -* docker/nuke: Use this script to delete all Docker images and containers. This fully resets your Docker setup and is useful for making sure that the setup procedure specified for this app is complete. -* docker/seed: Use this script to seed the database. Please note that this process is not compatible with simultaneously running the Rails server or tests. * docker/server: Use this script to run this app in the Rails server. This script executes the "docker-compose up" command and logs the results. If all goes well, you will be able to view this app on your local browser at http://localhost:3000/. * docker/test: Use this script to run the entire test suite. -* docker/testc: Use this script to run just the controller tests. -* docker/testm: Use this script to run just the model tests. +* docker/exec: Use this script to run commands within the Docker container. If you want shell access, enter "docker/exec bash". To execute "ls -l" within the Docker container, enter "docker/exec ls -l". +* docker/seed: Use this script to seed the database. Please note that this process is not compatible with simultaneously running the Rails server or tests. +* docker/nuke: Use this script to delete all Docker images and containers. This fully resets your Docker setup and is useful for making sure that the setup procedure specified for this app is complete. +* docker/cop: This script runs RuboCop. + + diff --git a/docker/testc b/docker/testc deleted file mode 100755 index e42615caba..0000000000 --- a/docker/testc +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -# This script runs just the controller tests. - -echo '--------------------------------------------------------------' -echo 'BEGIN: docker-compose run web bundle exec rake db:test:prepare' -echo '--------------------------------------------------------------' -docker-compose run web bundle exec rake db:test:prepare -echo '------------------------------------------------------------' -echo 'END: docker-compose run web bundle exec rake db:test:prepare' -echo '------------------------------------------------------------' - -echo '----------------------------------------------------------' -echo 'BEGIN: docker-compose run web bundle exec spec/controllers' -echo '----------------------------------------------------------' -docker-compose run web bundle exec rspec spec/controllers -echo '--------------------------------------------------------------' -echo 'END: docker-compose run web bundle exec rspec spec/controllers' -echo '--------------------------------------------------------------' diff --git a/docker/testm b/docker/testm deleted file mode 100755 index ecaa66a4fd..0000000000 --- a/docker/testm +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -# This script runs just the model tests. - -echo '--------------------------------------------------------------' -echo 'BEGIN: docker-compose run web bundle exec rake db:test:prepare' -echo '--------------------------------------------------------------' -docker-compose run web bundle exec rake db:test:prepare -echo '------------------------------------------------------------' -echo 'END: docker-compose run web bundle exec rake db:test:prepare' -echo '------------------------------------------------------------' - -echo '-----------------------------------------------------' -echo 'BEGIN: docker-compose run web bundle exec spec/models' -echo '-----------------------------------------------------' -docker-compose run web bundle exec rspec spec/models -echo '---------------------------------------------------------' -echo 'END: docker-compose run web bundle exec rspec spec/models' -echo '---------------------------------------------------------'