mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-09 23:02:13 -05:00
Remove wheels-ing on deployment
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -69,7 +69,5 @@ environment.sh
|
|||||||
|
|
||||||
celerybeat-schedule
|
celerybeat-schedule
|
||||||
|
|
||||||
wheelhouse/
|
|
||||||
|
|
||||||
# CloudFoundry
|
# CloudFoundry
|
||||||
.cf
|
.cf
|
||||||
|
|||||||
5
Makefile
5
Makefile
@@ -80,8 +80,7 @@ generate-version-file: ## Generates the app version file
|
|||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build: dependencies generate-version-file ## Build project
|
build: dependencies generate-version-file ## Build project
|
||||||
rm -rf wheelhouse
|
. venv/bin/activate && PIP_ACCEL_CACHE=${PIP_ACCEL_CACHE} pip-accel install -r requirements.txt
|
||||||
. venv/bin/activate && PIP_ACCEL_CACHE=${PIP_ACCEL_CACHE} pip-accel wheel --wheel-dir=wheelhouse -r requirements.txt
|
|
||||||
|
|
||||||
.PHONY: cf-build
|
.PHONY: cf-build
|
||||||
cf-build: dependencies generate-version-file ## Build project for PAAS
|
cf-build: dependencies generate-version-file ## Build project for PAAS
|
||||||
@@ -260,7 +259,7 @@ clean-docker-containers: ## Clean up any remaining docker containers
|
|||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -rf node_modules cache target venv .coverage build tests/.cache wheelhouse
|
rm -rf node_modules cache target venv .coverage build tests/.cache
|
||||||
|
|
||||||
.PHONY: cf-login
|
.PHONY: cf-login
|
||||||
cf-login: ## Log in to Cloud Foundry
|
cf-login: ## Log in to Cloud Foundry
|
||||||
|
|||||||
@@ -5,4 +5,4 @@ set -eo pipefail
|
|||||||
echo "Install dependencies"
|
echo "Install dependencies"
|
||||||
|
|
||||||
cd /home/notify-app/notifications-api;
|
cd /home/notify-app/notifications-api;
|
||||||
pip3 install --find-links=wheelhouse -r /home/notify-app/notifications-api/requirements.txt
|
pip3 install -r /home/notify-app/notifications-api/requirements.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user