This repository has been archived by the owner on Mar 14, 2023. It is now read-only.
forked from zeroc0d3/ruby-deploy-gcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Migration
ZeroC0D3 Team edited this page Jan 9, 2018
·
2 revisions
- Migration database & seed
## Rails < 5.0
bundle exec bin/rake db:migrate db:seed RAILS_ENV=[environment]
## Rails >= 5.0
bundle exec bin/rails db:migrate db:seed RAILS_ENV=[environment]
- Optional: RAILS_ENV (test, development, staging, production)
- For production environment use addtional command:
DISABLE_DATABASE_ENVIRONMENT_CHECK=1
- For specific seed class
## Rails < 5.0
bundle exec bin/rake db:seed SEED_FILES=[class_name] RAILS_ENV=[environment]
## Rails >= 5.0
bundle exec bin/rails db:seed SEED_FILES=[class_name] RAILS_ENV=[environment]
- Use option
--trace
for debug
Research & Development (RnD) - ZeroC0D3 Team
- Email: [email protected]
- Repository: https://github.com/zeroc0d3lab
- Install-Packages
- Setup-Server
- Setup-Account
- Configuration-Bash
- Configuration-Zsh
- Install-Bash-Theme
- Install-Zsh-Theme
- Install-Docker
- Install-Memcached
- Install-MongoDB
- Install-MySQL
- Install-NodeJS
- Install-PostgreSQL
- Install-Redis
- Install-Ruby
- Install-SQLite3
- Configuration-App
- Configuration-GCM
- Configuration-Hosts
- Configuration-Memcached
- Configuration-MongoDB
- Configuration-PostgreSQL
- Configuration-Puma
- Configuration-Swap
- Configuration-Unicorn
- Nginx-Puma
- Nginx-Unicorn
- Logrotate
- Deployment-Dashboard
- Deployment-Configuration
- Deployment-Process
- Deployment-Folder-Structure
- Deploy-Preinstall