A multipurpose python flask API server and administration SPA
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.

56 lines
735 B

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