Skip to content

Commit

Permalink
working on fixing the backend, database
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikechavo committed Jul 22, 2024
1 parent 34a73e6 commit 2e2f322
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@

# Ignore master key for decrypting credentials and more.
/config/master.key

/config/credentials/production.key
13 changes: 13 additions & 0 deletions bin/render-build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
#!/bin/sh
set -o errexit
set -o nounset
set -o pipefail

# Install gems
bundle install

# Precompile assets
bundle exec rake assets:precompile

# Clean up old assets
bundle exec rake assets:clean

# Run database migrations
bundle exec rake db:migrate

# Optionally, you might want to clear old logs
# bundle exec rake log:clear
1 change: 1 addition & 0 deletions config/credentials/production.yml.enc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
B+Stw2SvxRJCvThMPF4yuKDhWBR8WJnYWLu343tKjSiwQJSaaWQOz7PASMiEhlpp4sW3hCCi0NWYUdiP2O/e7Ffq+X0=--bRzY3vDLFfbypmHk--Tnst9jaa9yDqim4PRTDDqQ==

0 comments on commit 2e2f322

Please sign in to comment.