Skip to content

Commit

Permalink
changes for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
mykovasyl committed Apr 3, 2023
1 parent d949242 commit 7c2ef9f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions bin/render-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
# exit on error
set -o errexit

# builds the front end code
# Add build commands for front end
rm -rf public
npm install --prefix client && npm run build --prefix client
cp -a client/build/. public/

bundle install
bundle exec rake assets:precompile
bundle exec rake assets:clean
bundle exec rake db:migrate
bundle exec rake db:migrate

0 comments on commit 7c2ef9f

Please sign in to comment.