Closed mylibrar closed 3 years ago
pip3 install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple stave_test
pip3 install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple stave_test
since tests-pypi is used for testing, you don't need to use a separate stave_test repo
This PR fixes #206.
Description of changes
settings.py
andwsgi.py
in stave package.stave load
tostave load-samples
.django_settings_module
. Add interactive interface for user to set up and initialize config of stave.Possible influences of this PR
~/.stave
needs to be removed to avoid potential conflicts (e.g., KeyError).django_settings_module
, they need to make sure the module is a path to a valid django project andsettings.py
is properly configured. Otherwise there may be undefined behaviors.Demonstration of results
stave
and remove the~/.stave
folder:README.md
. You may either (1) Skip all the initial configs to accept default django settings; or (2) Setdjango_settings_module
to asettings.py
file from a properly configureddjango
project. Refer to https://github.com/asyml/stave/blob/master/simple-backend/stave_backend/settings.py for more details.