/StarupProject

Primary LanguageJavaScriptCreative Commons Zero v1.0 UniversalCC0-1.0

StarupProject

Running docker container:

  1. git clone https://github.com/magnusao/StarupProject.git

  2. cd StarupProject

  3. sudo docker build --no-cache -t "application-name:version" .

  4. Stop already running container: a. sudo docker ps b. sudo docker stop "containerID"

  5. sudo docker run -p "port:port" "application-name:version"

Local development

For rapid development there is a live reload task that rebuilds build.js whenever changes to front end files are detected. This means you will see changes live on the page whenever you save these files. To start the live reload server navigate to the root project folder and run npm run start-reload.

Then to run the webserver run npm start.

The page can be accessed at localhost:80.

Resources

The general architecture is base on http://joelhooks.com/blog/2016/03/20/build-an-image-gallery-using-redux-saga