Skip to content

Commit

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

# builds the front end code
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 assets:precompile
# bundle exec rake assets:clean
bundle exec rake db:migrate

0 comments on commit 636d6d1

Please sign in to comment.