commit 80a4baac099bcc48b1a2940b3afda39d13fc7ce7
parent a66087845fb5c358db0650bd4c44de4cedb479b3
Author: Ryan Jeffrey <ryan@ryanmj.xyz>
Date: Sat, 14 Jan 2023 09:55:06 -0800
bundle local
Diffstat:
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/build.zsh b/build.zsh
@@ -1,10 +1,7 @@
#!/usr/bin/env zsh
-
-# TODO get nginx to serve files in /public
-# TODO rake db:create RAILS_ENV=production
-# TODO rake db:migrate RAILS_ENV=production
+#
export RAILS_ENV=production
-bundle install
+bundle install --local
bundle exec rake assets:precompile
bundle exec rake assets:clean
bundle exec rake db:migrate