Logo
Explore Help
Sign In
IntenseWebs/discourse
3
0
Fork 0
You've already forked discourse
mirror of https://github.com/discourse/discourse.git synced 2025-02-25 18:55:32 -06:00
Code Issues Packages Projects Releases Wiki Activity
Files
dc263b518905d434dab09cb1b28dfbe2cbe3b2f0
discourse/bin/docker/migrate

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
121 B
Plaintext
Raw Normal View History

add some extra helper scripts
2016-12-13 09:24:31 +11:00
#!/bin/bash
DEV: Update docker development binstubs - Add `d/ember-cli`, and publish port 4200 - Remove `d/sidekiq`. Sidekiq is now started with the rails server - Move all `docker exec` logic into a single place, so we have one place to set environment variable pass-throughs - Use `exec` for all bash scripts, so that return statuses are passed back correctly - Avoid using `bin/bash -c` unnecessarily, because it makes escaping arguments difficult
2021-05-21 16:24:09 +01:00
set -e
add some extra helper scripts
2016-12-13 09:24:31 +11:00
DEV: Update docker development binstubs - Add `d/ember-cli`, and publish port 4200 - Remove `d/sidekiq`. Sidekiq is now started with the rails server - Move all `docker exec` logic into a single place, so we have one place to set environment variable pass-throughs - Use `exec` for all bash scripts, so that return statuses are passed back correctly - Avoid using `bin/bash -c` unnecessarily, because it makes escaping arguments difficult
2021-05-21 16:24:09 +01:00
"$(dirname "$0")/exec" bin/rake db:migrate
RAILS_ENV=test "$(dirname "$0")/exec" bin/rake db:migrate
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 344ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API