We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f130dbc commit 2600e52Copy full SHA for 2600e52
spec/dummy/bin/prod
@@ -0,0 +1,4 @@
1
+#!/usr/bin/env bash
2
+
3
+# Run only after ./prod-assets
4
+NODE_ENV=production RAILS_ENV=production bundle exec rails s -p 3001
spec/dummy/bin/prod-assets
@@ -0,0 +1,8 @@
+export NODE_ENV=production
+export RAILS_ENV=production
5
+if [ "$CI" = "true" ]; then
6
+ bundle exec bootsnap precompile --gemfile app/ lib/ config/
7
+fi
8
+bundle exec rails assets:precompile
0 commit comments