Skip to content

This is my Online Portfolio I made from Scratch using NodeJS, HTML, CSS and Bootstrap.

Notifications You must be signed in to change notification settings

Dhaigh94/Online-Portfolio

Repository files navigation

Online-Portfolio

This is my Online Portfolio I made from Scratch using NodeJS, HTML, CSS and Bootstrap.

To Run the APP

To run the app you need to install the node_modules by typing npm install in the project, then run it by typing npm run start. Or if you are doing changes to the server.js file you can do npm run dev which will use nodemon which will restart the server everytime you do changes.

To Run the APP on Docker

To run the app on Docker need to install docker on your machine which can be downloaded here: https://www.docker.com/products/docker-desktop. After you install Docker you need to build the container which can be done by running npm run docker:build. Then you need to run the container by running npm run docker:run. To close the container you need to run docker stop "containerID". You can find the containerID by running docker ps.

To Run Cypress

Before you run Cypress you need to make sure the app is running. To run Cypress to need to type npm run cypress:open and then choose the test for want to run. To run Cypress in the command line you need to type npm run cypress:run which will run all the tests.

Cypress Dashboard Online-Portfolio

To Run Percy

To run Percy you need to make sure that the app is running. Then you need to export the Percy token in the ENV variables, if you are using Windows you have to type set PERCY_TOKEN=yourtoken, for Mac export PERCY_TOKEN=yourtoken. Then you need to run npm run percy:run.

This project is using Percy.io for visual regression testing.

Running on CI

This project is running on CircleCI as a CI platform which you can learn more about CircleCI here: https://circleci.com/. You can also watch a video of my CI running here: https://youtu.be/DrWymr5WZbo.

CircleCI

Social Media

Here is some Social Media Channels you can follow me on.