Codepot website
- install dependencies:
npm install
, - install bower dependencies:
node_modules/.bin/bower install
, - build grunt:
node_modules/.bin/grunt
, - start grunt watcher:
node_modules/.bin/grunt watch
, - start the app:
CDPT_HOST="http://localhost:8080/" node index.js
.
To build for staging/release environment just run docker:
docker build --tag codepotpl .
to build image,docker run -it -p 8080:8080 -e CDPT_HOST="<HOST_HERE>" codepotpl
to run container with exposed port 8080.
Run:
node_modules/.bin/grunt dist
CDPT_HOST="http://codepot.pl/" node index.js
- Commit
public
directory andindex.html
.