Agregados requerimientos y separados por dev y prod
This commit is contained in:
@@ -10,7 +10,7 @@ before_script:
|
||||
test:
|
||||
stage: test
|
||||
script:
|
||||
- pip install -r requirements.txt
|
||||
- pip install -r requirements.txt -r requirements-dev.text
|
||||
- ./lint.sh
|
||||
|
||||
deploy:
|
||||
|
||||
@@ -6,7 +6,7 @@ set -eu
|
||||
# Activate venv
|
||||
. venv/bin/activate
|
||||
# Install all requirements
|
||||
pip install -r requirements.txt
|
||||
pip install -r requirements.txt -r requirements-dev.txt
|
||||
|
||||
|
||||
# Collect static files
|
||||
|
||||
2
requirements-dev.txt
Normal file
2
requirements-dev.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
pylint # Linting
|
||||
pylint-exit # Maps pylint exit codes to something sane for linux
|
||||
1
requirements-prod.txt
Normal file
1
requirements-prod.txt
Normal file
@@ -0,0 +1 @@
|
||||
gunicorn # To run the server on production
|
||||
@@ -7,5 +7,4 @@ ratelimit # To rate limit request to musicbrainz
|
||||
redis # To comunicate with redis
|
||||
requests # Saner request library
|
||||
blake3 # To use blake3 hashing, since python seeds every hash on hashlib and is different between instances
|
||||
gunicorn # To run the server on production
|
||||
country_list # To transform country codes to their names
|
||||
Reference in New Issue
Block a user