Logo
Explore Help
Sign In
darkhelm/notifications-admin
1
0
Fork 0
You've already forked notifications-admin
mirror of https://github.com/GSA/notifications-admin.git synced 2026-04-27 20:51:00 -04:00
Code Issues Packages Projects Releases Wiki Activity
Files
2369187f183104f97ebde9bf136fcf036b6dc2ec
notifications-admin/scripts/aws_install_dependencies.sh

6 lines
172 B
Bash
Raw Normal View History

Added files to support AWS Code deploy
2015-11-30 15:44:16 +00:00
#!/bin/bash
Logging on dependencies
2015-12-02 10:15:46 +00:00
echo "Install dependencies"
Updated start scripts to not look up envrionemnt
2016-07-04 17:21:08 +01:00
cd /home/notify-app/notifications-admin;
Don't create wheels for dependencies but store offline: Previously we used AWS which meant that we could create wheels from our requirements and then install them offline which made deployments quicker. We're no longer using AWS so let's remove that. Although CloudFoundry supports installing dependencies in an offline environment as documented here: http://docs.cloudfoundry.org/buildpacks/python/#vendoring To achieve this we create a vendor/ directory which will contain the packages to install. This uses --no-index and --find-links so will not resolve for any dependencies from pypi. For this reason there is assumed confidence that the vendor/ directory will contain all of the dependencies we need.
2017-07-20 11:29:31 +01:00
pip3 install --find-links=vendor -r /home/notify-app/notifications-admin/requirements.txt
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0 Page: 1889ms Template: 99ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API