Revert changes to setup_dev

They were unnecessary, and were not backwards-compatible with non-docker development
pull/8801/head
Benjamin Bädorf 4 years ago
parent fbf375d480
commit 686f12315e
No known key found for this signature in database
GPG Key ID: 4406E80E13CD656C
  1. 3
      bin/setup_dev
  2. 2
      docker/dev/backend/Dockerfile
  3. 2
      docker/dev/backend/scripts/setup

@ -11,6 +11,9 @@ printf "Bundling rails dependencies ... "
try 'bundle install > log/setup_dev.log'
echo "done."
echo "Installing node_modules ... "
try 'npm install --no-shrinkwrap >> log/setup_dev.log'
echo "Linking plugin modules"
try 'bundle exec rake openproject:plugins:register_frontend >> log/setup_dev.log'

@ -21,7 +21,7 @@ RUN apt-get update -qq && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
postgresql-client
COPY ./backend/scripts/seed /usr/sbin/seed
COPY ./backend/scripts/setup /usr/sbin/setup
COPY ./backend/scripts/run-app /usr/sbin/run-app
EXPOSE 3000

@ -5,3 +5,5 @@ set -e
bundle install
bundle exec rake db:create db:migrate
bundle exec rake db:seed
bundle exec rake openproject:plugins:register_frontend
bundle exec rake i18n:js:export
Loading…
Cancel
Save