[](https://travis-ci.com/BookingBug/bookingbug-studio)
npm install bookingbug-studio
.env file in the root of the project if it is not already there. Use this file to override any locally defined environment variables. Otherwise, put the following environment variables in the .env file.BB_CORE_SRC_DIR="/path/to/bookingbug-core-js"BB_CONFIGURATOR_SRC_DIR="/path/to/bookingbug-configurator-js"#### For deployment to AWS
- AWS_SECRET_ACCESS_KEY="your access key"
- AWS_ACCESS_KEY_ID="your access key ID"
#### For posting deployment details to slack
- BB_SLACK_URL="slack webhook url"
- BB_SLACK_TOKEN="slack token"
The .env is necessary even if it is empty.
npm i or npm install will install all the dependencies.Simply run npm start to start the application. You can pass a few options here
- npm start -- --local core --local configurator will run the application using these modules locally
- if you then run npm start without 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 8091 will run the server with the port... 8091!
client The name of the configurator projectenvironment The name of the environment in the projectproduct The name of the product in the project (Without this one it will not work locally whereas it can be ommitted for a deployed version)For example:http://localhost:8000/?client=my_company&product=studio&environment=test
npm run deploy -- --env development will deploy your application on /development/your-branch-name.> Please remember the -- syntax is necessary to pass params to npm scripts.