From c5adc6b73b96c7cc1c759661a39d810faec7ecfe Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 4 Aug 2016 10:11:16 +0200 Subject: [PATCH] Remove the watchdog for static files (should me done by cron or by hand on server side in production) --- Gemfile.lock | 35 ----------------------------------- README.rst | 2 +- app/scripts/app.sh | 6 +++--- 3 files changed, 4 insertions(+), 39 deletions(-) delete mode 100644 Gemfile.lock diff --git a/Gemfile.lock b/Gemfile.lock deleted file mode 100644 index 2ea5de15..00000000 --- a/Gemfile.lock +++ /dev/null @@ -1,35 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - chunky_png (1.3.6) - compass (1.0.3) - chunky_png (~> 1.2) - compass-core (~> 1.0.2) - compass-import-once (~> 1.0.5) - rb-fsevent (>= 0.9.3) - rb-inotify (>= 0.9) - sass (>= 3.3.13, < 3.5) - compass-core (1.0.3) - multi_json (~> 1.0) - sass (>= 3.3.0, < 3.5) - compass-import-once (1.0.5) - sass (>= 3.2, < 3.5) - ffi (1.9.14) - multi_json (1.12.1) - rb-fsevent (0.9.7) - rb-inotify (0.9.7) - ffi (>= 0.5.0) - sass (3.4.22) - -PLATFORMS - ruby - -DEPENDENCIES - compass (<= 1.0.3) - sass (<= 3.4.22) - -RUBY VERSION - ruby 2.1.2p95 - -BUNDLED WITH - 1.12.5 diff --git a/README.rst b/README.rst index 604b9ef9..d69d46f8 100644 --- a/README.rst +++ b/README.rst @@ -79,7 +79,7 @@ Gulp require nodejs installed on your computer to work. 4. Install ruby dependencies:: - gem install bundler + sudo gem install bundler bundle install diff --git a/app/scripts/app.sh b/app/scripts/app.sh index 1d626fce..4e48b535 100644 --- a/app/scripts/app.sh +++ b/app/scripts/app.sh @@ -29,7 +29,7 @@ sh $app/scripts/wait.sh # django setup python $manage wait-for-db python $manage migrate --noinput -python $manage bower_install -- --allow-root +# python $manage bower_install -- --allow-root python $manage collectstatic --noinput python $manage create-admin-user @@ -39,8 +39,8 @@ then python $manage runserver 0.0.0.0:8000 else # static files auto update - watchmedo shell-command --patterns="$patterns" --recursive \ - --command='python '$manage' collectstatic --noinput' $app & + # watchmedo shell-command --patterns="$patterns" --recursive \ + # --command='python '$manage' collectstatic --noinput' $app & uwsgi --socket :$port --wsgi-file $wsgi --chdir $app --master \ --processes $processes --threads $threads \ -- 2.39.5