coorpacademy-www-static
v1.1.5
Published
Static Coorporate WebSite
Downloads
4
Readme
coorpacademy-www-static
Static coorpacademy web site
You can launch the application in 2 manner :
- standalone solution using your local node server
- fully dockerized stack with a mapped workspace volume
Old fashion
npm install
npm start
- visit
http://localhost:3500
Docker
- Run
make dev
. It will run a local dev stack with a volume mapped to your workspace. - Open the application on
https://localhost
- follow logs
make logs
Usage
make build
build local docker images from "docker-compose.yml"make build-no-cache
runs make build with --no-cache flagmake start
starts a fast dev stack without reinstall of npm_modules and without workspace volume, usefull for a fast application's test.make stop
kills all containers listed from docker-compose.ymlmake remove
remove all killed/stopped containers from docker-compose.ymlmake restart
runs the 3 commands above: stop remove startmake gen-conf
generate docker-cloud.yml for staging and production environmentmake status
shows stats of the current compose stackmake logs
follow logs from all compose containers, it is possible to watch a specific image, for examplemake logs web
make ssh <name>
open an interactive shell in a container. examplemake ssh web
make clean
remove local node_modulesmake test
runs docker-compose.test.yml and executes tests
how to add a component
first add the factory to your bundle: /app/components.js
createStarRating: factories.createStarRating
then your dust helper will be created at npm start
, just call it with the required properties in any dust file: (helper names are param-case)
{@star-rating rating=4 total=7 /}