Skip to content

Implement deployment mechanisms #23

Closed
campb303 opened this issue Aug 6, 2020 · 2 comments
Closed

Implement deployment mechanisms #23

campb303 opened this issue Aug 6, 2020 · 2 comments
Assignees
Labels
duplicate Extraneous issue tracking something already tracked elsewhere feature-request Request for functionality that has not already been implemented

Comments

@campb303
Copy link
Collaborator

campb303 commented Aug 6, 2020

webqueue2 has grown into a complex system with several steps to setup a development environment and a production environment. It takes upwards of 20 minutes to set these up by hand and it would greatly reduce testing/deployment time to have these actions scripted. Below are rough descriptions of how the deployment scripts should behave.

Deployment Script

  1. Check for linting errors (babel for JSX and JS, pylint for Python)
    • Fail if linting isn't successful and show linting errors
  2. Run tests (Jest for JSX and JS, pytest for Python)
    • Fail if tests aren't successful and show unsuccessful tests
  3. Rebuild documentation(s)
  4. Build the frontend
  5. Bundle the frontend build, API files and API requirements file
  6. Deploy to the desired server(s)
  7. Start the web server for the frontend
  8. Start the API server for the backend

Separating functionality and allowing for a production side upgrade path should be a consideration and thought through during the development of this tooling.

@campb303 campb303 added the feature-request Request for functionality that has not already been implemented label Aug 7, 2020
@campb303 campb303 self-assigned this Sep 8, 2020
@campb303 campb303 added this to the v1 milestone Sep 14, 2020
@campb303
Copy link
Collaborator Author

#45 is related to this.

@campb303 campb303 added the duplicate Extraneous issue tracking something already tracked elsewhere label Sep 30, 2020
@campb303
Copy link
Collaborator Author

Marking as a duplicate of #11

Sign in to join this conversation on GitHub.
Labels
duplicate Extraneous issue tracking something already tracked elsewhere feature-request Request for functionality that has not already been implemented
Projects
None yet
Development

No branches or pull requests

1 participant