UKSpaceAgency / space-activity-licensing-alpha

UK Space Activity Licensing Alpha
MIT License
0 stars 1 forks source link

UK Space Agency Alpha

Dependencies

development

grunt

Building

To build files to ./dist:

grunt build

Environment Vars

The BUILD_CONFIG=staging|production|development (defaults to development) environment variable should be used to define to the application the environment it is running in. This is separate to NODE_ENV since many libraries (React included) rely on the de-facto standard values of production|development to optimise their running.

Setting BUILD_CONFIG sets NODE_ENV automatically accordingly in webpack.js.

Development

A feature branch branching strategy is in use, specifically:

Releasing

CI

BuddyCI is used for the CI server (see buddy.yaml).

SSH / Keys

To give BuddyCI access to the integration server, the public key (found at https://app.buddy.works/kode/uksa-alpha/environment-variables) should be added to the deploy user's ~/.ssh/authorized_keys file on the staging server.