-
git clone https://github.com/magnusao/StarupProject.git
-
cd StarupProject
-
sudo docker build --no-cache -t "application-name:version" .
-
Stop already running container: a.
sudo docker ps
b.sudo docker stop "containerID"
-
sudo docker run -p "port:port" "application-name:version"
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
.
The general architecture is base on http://joelhooks.com/blog/2016/03/20/build-an-image-gallery-using-redux-saga