Last active
May 15, 2019 04:39
-
-
Save JasonTam/121548d8827720c4289b93126ecff1cf to your computer and use it in GitHub Desktop.
zappa pipenv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipenv --python 3.6 | |
pipenv install | |
zappa init | |
zappa deploy | |
#zappa update | |
# fucking lambda has an old libstdc++ I think, so compile any cpython stuff with GCC/G++-5 | |
https://archerfmy.github.io/2017/04/12/How-to-switch-your-gcc-g-version-in-ubuntu/ | |
sudo apt-get install gcc-5 g++-5 | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 10 | |
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 10 | |
sudo update-alternatives --config gcc | |
sudo update-alternatives --config g++ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment