- nodejs
- npm
- bower
- gulp
git clone git@github.com:paperhive/paperhive-launch.git --recursive
cd paperhive-launch
npm install
bower install
cp config.json.default config.json
Adapt config.json
to your needs and finally run:
npm run build
Upon completion, the files for deployment are placed in the directory build/
.
Make sure you passed --recursive
to the clone command (see above). If you
switch branches and want to checkout the static files associated with the
current branch run
git submodule update
Running
gulp serve
continuously builds the project (upon changes of the code) and fires up an HTTP
server which can be reached via http://localhost:8080
. For debugging
purposes, gulp can be run with the environment variable DEBUG=true
which
omits all minimizations and includes source maps for JavaScript and CSS. Note
that this substantially speeds up the build process. So for development you
probably want to run
DEBUG=true gulp serve
Make sure that the frontend builds without errors,
npm run build
and that the selenium drivers are installed and up-to-date,
./node_modules/gulp-protractor/node_modules/.bin/webdriver-manager update
After that,
npm test
runs both unit and e2e tests.
The PaperHive launch page is licensed under the GPL3 license.