guides icon indicating copy to clipboard operation
guides copied to clipboard

Converting a production upstream appliance into a development one

Open Fryguy opened this issue 8 years ago • 3 comments

From discussion on SUI gitter room.

Since our upstream appliances are production mode, it would be nice to have directions for people to convert them to dev mode for rebuild purposes. For example, a user wants to change the skinning, but can't because we build the SUI with --production so the build bits are not there.

Fryguy avatar May 26 '17 18:05 Fryguy

cc @simaishi, @jrafanie

Fryguy avatar May 26 '17 18:05 Fryguy

ruby land bundler dependencies are required based on Rails environment but the INSTALLATION is controlled by the ENV['APPLIANCE'] variable see here

jrafanie avatar May 26 '17 18:05 jrafanie

There is RAILS_ENV=production set here which is used to compile OpsUI and yarn install --production for SUI as seen here

simaishi avatar May 26 '17 18:05 simaishi