An ebook/comic library service and web client
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.

54 lines
690 B

7 years ago
  1. # Atheneum Server
  2. ## Requirements
  3. * Python 3.6
  4. * Pipenv
  5. ## Installation
  6. ```bash
  7. git clone https://gitlab.com/WarrickSothr/Atheneum.git
  8. cd Atheneum/server
  9. pipenv install
  10. pipenv shell
  11. ```
  12. ## Configuration
  13. ## Running
  14. ### Docker
  15. ```bash
  16. docker build -t atheneum:local-test .
  17. docker run -d atheneum:local-test
  18. ```
  19. ### Local Development Version
  20. ```bash
  21. FLASK_APP=atheneum:atheneum flask db upgrade
  22. python manage.py user register-admin
  23. FLASK_APP=atheneum:atheneum flask run
  24. ```
  25. ## FAQ
  26. ## Development
  27. ```bash
  28. pipenv install --dev
  29. ```
  30. * Make changes
  31. * Add/Update tests
  32. ```bash
  33. ./run_tests
  34. ```
  35. * If everything passes follow contributing guide.
  36. ## Contributing
  37. See ../CONTRIBUTING.md