mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Ensuring dependencies met for deployment on local.
This commit is contained in:
parent
0f27ba81e0
commit
d0fdbde96b
4 changed files with 23 additions and 4 deletions
|
@ -28,6 +28,14 @@
|
|||
- never
|
||||
- static
|
||||
|
||||
- name: Updating NewsBlur Deploy container
|
||||
run_once: yes
|
||||
connection: local
|
||||
command: chdir=/srv/newsblur docker pull newsblur/newsblur_deploy
|
||||
tags:
|
||||
- never
|
||||
- static
|
||||
|
||||
- name: Compressing JS/CSS assets
|
||||
run_once: yes
|
||||
connection: local
|
||||
|
@ -46,6 +54,17 @@
|
|||
- never
|
||||
- static
|
||||
|
||||
- name: Ensure AWS dependencies installed
|
||||
run_once: yes
|
||||
connection: local
|
||||
pip:
|
||||
name:
|
||||
- boto3
|
||||
- botocore
|
||||
tags:
|
||||
- never
|
||||
- static
|
||||
|
||||
- name: Uploading JS/CSS assets to S3
|
||||
run_once: yes
|
||||
connection: local
|
||||
|
@ -65,7 +84,7 @@
|
|||
git:
|
||||
repo: https://github.com/samuelclay/NewsBlur.git
|
||||
dest: /srv/newsblur/
|
||||
version: master
|
||||
version: pipeline
|
||||
register: pulled
|
||||
tags:
|
||||
- static
|
||||
|
|
|
@ -21,4 +21,4 @@
|
|||
git:
|
||||
repo: https://github.com/samuelclay/NewsBlur.git
|
||||
dest: /srv/newsblur/
|
||||
version: master
|
||||
version: pipeline
|
||||
|
|
|
@ -9,4 +9,4 @@ RUN npm -g install yuglify
|
|||
RUN npm -g install google-closure-compiler
|
||||
|
||||
WORKDIR /srv/newsblur
|
||||
CMD python manage.py collectstatic --no-input --clear -v 1 -l
|
||||
CMD python manage.py collectstatic --no-input --clear -v 3 -l
|
||||
|
|
|
@ -26,7 +26,7 @@ DEBUG = False
|
|||
# `./manage.py collectstatic` first. Turn this on for development so you can see
|
||||
# changes in your JS/CSS.
|
||||
DEBUG_ASSETS = False # Make sure to run `./manage.py collectstatic` first
|
||||
DEBUG_ASSETS = True
|
||||
# DEBUG_ASSETS = True
|
||||
|
||||
# DEBUG_QUERIES controls the output of the database query logs. Can be rather verbose
|
||||
# but is useful to catch slow running queries. A summary is also useful in cutting
|
||||
|
|
Loading…
Add table
Reference in a new issue