You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Manish 92a95e9612 Removed test script from production code 1 year ago
random-quote-machine Removed test script from production code 1 year ago

Build a Random Quote Machine



Project specification: Build a Random Quote Machine


Build and deploy as:

cd random-quote-machine
npm install
npm run build
cd ..
DOCKER_BUILDKIT=1 docker build -t radii/random-quote-machine:latest -f ./dockerfile ./random-quote-machine/build
docker run -p 8081:80 -it radii/random-quote-machine

Access WebApp at http://localhost:8081

Note: you may replace 8081 with any other port number where you wish to make service available.

Run tests as:

After building, go to to public sub-directory and edit index.html file and insert bellow code snippet immediately before closing </body> tag:

<script src=""></script>

Than start development instance as:

npm start

You should now see a hamburger on top-left of page. Tap/click it than select test suite Random Quote Machine. Run Tests and observe results.