Docker friendly javascript application with backend and frontend
To feed our sin of pride,
Or
docker
+ docker-compose
With nodejs (>=7.5.0) and redis on local machine:
With docker
and docker-compose
installed
/etc/hosts
to add flash2.local
as alias for localhost.
[root@ivory vodolaz095]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 flash2.local
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 flash2.local
Source codes are in frontend
directory.
Run npm run-script gulp
to process them and save output in public
directory.
TODO - livereload?
See CONTRIBUTING.md
# docker-compose -f docker-compose.testing.yaml up --build
It have to provide result like this