Skip to content

guzman-raphael/pharus

 
 

Repository files navigation

👷‍♀️ Under Construction 👷 construction_fig

⚠️ The DJGUI project is still early in its life and the maintainers are currently actively developing with a priority of addressing first critical issues directly related to the deliveries of Alpha and Beta milestones. Please be advised that while working through our milestones, we may restructure/refactor the codebase without warning until we issue our Official Release currently planned as 0.1.0 on 2021-03-31.

DJ-GUI-API Backend

Serves as the REST API backend for DJGUI project complimented by React frontend. Built on top of flask, datajoint, and pyjwt.

Requirements:

Run Locally

  • Copy local-docker-compose.yaml to docker-compose.yaml. This file is untracked so feel free to modify as necessary.
  • Check the first comment which will provide best instruction on how to start the service.

⚠️ The docker-compose file creates a docker network called dj-gui-api which is meant to connect the frontend to the backend via reverse proxy for development. Running or installation options currently being considered are Docker Compose and Electron. Deployment options currently being considered are Docker Compose and Kubernetes.

Run Tests

  • Create a .env as appropriate for your setup:
HOST_UID=1000 # Unix UID associated with non-root login
PY_VER=3.8    # Python version: 3.6|3.7|3.8
IMAGE=djtest  # Image type:     djbase|djtest|djlab|djlabhub
DISTRO=alpine # Distribution:   alpine|debian
AS_SCRIPT=    # If 'TRUE', will not keep container alive but run tests and exit
  • Navigate to LNX-docker-compose.yaml and check first comment which will provide best instruction on how to start the service. Yes, the command is a bit long...

References

About

REST API backend for DJGUI project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.0%
  • Dockerfile 1.0%