PLATFORM=arm
-- default platformPLATFORM=amd
PLATFORM=amd docker compose -f docker-compose.yml pull
docker compose -f docker-compose.yml up mysql
Put your db dump in the shared
folder on the host.
docker exec -ti artelectronics-mysql-1 bash
$ mysql -urails -h localhost -pqwerty artelectronics < shared/artelectronics.2022_10_10.mysql.sql
PLATFORM=amd docker compose -f docker-compose.yml up -d
touch config/_APP.production.yml
docker exec -ti artelectronics-rails-1 bash
RAILS_ENV=production bundle exec rake ts:configure
docker exec artelectronics-sphinx-1 indexer --config /opt/sphinx/conf/sphinx.conf --all
Restart Sphinx container!
docker exec -ti artelectronics-rails-1 bash
Site has to be available on http://localhost:3002
$ bundle exec puma -C config/_PUMA.production.rb
# or
$ bundle exec rails s -b 0.0.0.0 -p 3000
rake acts_as_taggable_on_engine:install:migrations
It will create any new migrations and skip existing ones
##Breaking changes:
- ActsAsTaggableOn::Tag is not extend with ActsAsTaggableOn::Utils anymore.
Please use ActsAsTaggableOn::Utils instead