You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Drew Short
8419ecb7e0
|
6 years ago | |
---|---|---|
.. | ||
atheneum | 6 years ago | |
documentation | 6 years ago | |
migrations | 6 years ago | |
tests | 6 years ago | |
.dockerignore | 6 years ago | |
.env | 6 years ago | |
.pylintrc | 6 years ago | |
CHANGELOG.md | 6 years ago | |
Dockerfile | 6 years ago | |
LICENSE | 6 years ago | |
Pipfile | 6 years ago | |
Pipfile.lock | 6 years ago | |
README.md | 6 years ago | |
entrypoint.sh | 6 years ago | |
manage.py | 6 years ago | |
mypy.ini | 6 years ago | |
run_tests.sh | 6 years ago | |
setup.py | 7 years ago | |
test_settings.py | 6 years ago |
README.md
Atheneum Server
API Documentation
Requirements
- Python 3.6
- Pipenv
Installation
git clone https://gitlab.com/WarrickSothr/Atheneum.git
cd Atheneum/server
pipenv install
pipenv shell
Configuration
Running
Docker
docker build -t atheneum:local-test .
docker run -d atheneum:local-test
Local Development Version
FLASK_APP=atheneum:atheneum flask db upgrade
python manage.py user register-admin
FLASK_APP=atheneum:atheneum flask run
FAQ
Development
pipenv install --dev
- Make changes
- Add/Update tests
./run_tests
- If everything passes follow contributing guide.
Contributing
See ../CONTRIBUTING.md