Skip to content
No description, website, or topics provided.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs fix typo and mention manual rds in docs. Feb 13, 2020
e2e GIGALIXIR_ENV=dev should modify localhost in netrc file. docs. Nov 4, 2019
encrypted_secrets canary commands. Mar 19, 2019
gigalixir python 3 uses errno instead of os.errno. Dec 5, 2019
test fix tests for python 3 and 2. Oct 22, 2019
.gitignore canary commands. Mar 19, 2019
.tool-versions fix e2e tests. Nov 11, 2018
README.md got pypi 308 error. upgrading pip and setuptools fixes this. may need… Jan 5, 2020
pytest.ini
setup.cfg install pytest. Mar 23, 2017
setup.py v1.1.3 and 2020 copyright. Jan 5, 2020

README.md

GIGALIXIR Command-Line Interface

Installation

pip install gigalixir

If you don't have pip install, see https://pip.pypa.io/en/stable/installing/

Quickstart

gigalixir signup
gigalixir login
gigalixir create 
git push gigalixir
curl https://$APP_NAME.gigalixirapp.com/

Documentation

http://gigalixir.readthedocs.io/en/latest/
https://www.gigalixir.com

Testing

# for python3 
sudo apt-get install -y python3-venv
sudo apt-get install -y python3-pip
python3 -m venv venv3
source venv3/bin/activate
pip3 install -e .[dev]
pip3 install -e .[test]
python setup.py test

# e2e tests
source venv3/bin/activate
unset GIGALIXIR_ENV
pip install pytest
export GIGALIXIR_EMAIL=foo
export GIGALIXIR_PASSWORD=bar
pytest -s e2e/test.py

# hit a development server
# get into the venv (see above)
GIGALIXIR_ENV=dev gigalixir account

Distribute

# may have to upgrade pip and setuptools with
# pip install --upgrade pip
# pip install --upgrade setuptools
python setup.py sdist upload -r pypitest
python setup.py sdist upload -r pypi

Modify documentation

pip install sphinx
pip install sphinx_rtd_theme
cd docs
make html
xdg-open build/html/index.html

Credits

Beaker by Eugen Belyakoff from the Noun Project

You can’t perform that action at this time.