bookingbug-customer v5.29.0
BookingBug Customer
Requirements
Make sure you have a .env file containing
AWS_ACCESS_KEY_ID="key" AWS_SECRET_ACCESS_KEY="key" BB_CORE_SRC_DIR="/absolute/path/to/core-js" BB_CONFIGURATOR_SRC_DIR="/absolute/path/to/configurator-js" GITHUB_TOKEN="token" BB_SLACK_TOKEN="token" BB_SLACK_URL="url"npm iornpm installwill install all the dependencies.Simply run
npm startto start the application. You can pass a few options herenpm start -- --local core --local configuratorwill run the application using these modules locally- if you then run
npm startwithout passing any local modules or if you pass different ones, the remaining ones will be reinstalled automatically from the remote specified in the package.json npm start -- --port 8091will run the server with the port... 8091!
npm run deploy -- --env developmentwill deploy your application on /development/. You can't deploy to production, sorry.you can deploy to staging as long as you are on the branch
develop.npm run deploy -- --stagingwill do the magicnpm run release {version}will create a release on GitHub (and publish on npm if travis doesn't fail). Pass the semantic version you want to releasenpm run release minor,npm run release patch, etc
Please remember the -- syntax is necessary to pass params to npm scripts. If you don't really like this syntax, you can try to use yarn which natively support the params without the double dash
yarn run start --local coreis equivalent tonpm start -- --local core
========================================================
Further Documentation
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago