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 6f0e820 commit cfb1e33Copy full SHA for cfb1e33
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,9 @@
+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
+yarn run build:rescript
9
+bundle exec rails assets:precompile
0 commit comments