Skip to content

Build and Deployment process

cybertoast edited this page Oct 17, 2011 · 1 revision

The code should be built for each release. This includes the following things. Each test process on something like Jenkins should include this.

Configuration

Any built or compiled objects will have precedents over source code if the following is true in the config file:

  • app_env: staging OR
  • app_env: prod

Build

To create build.

git submodule init
git submodule update
./scripts/build.sh

Compress Client-Side Resources

For reference. Currently, CBU utilizes this minifier to compress Javascript and CSS, which significantly helps web performance. The following command from the CBU root will build these.

python scripts/minifier/minifier.py -v -c scripts/minifier.conf