Getting Started with a New Project#
In this Getting Started guide, we’ll prepare a Torque workspace that can serve as a good foundation for further Torque Framework-enabled development and give you directions for further explorations. By the end of this chapter, you will be able to use Torque to build and deploy your workspace both locally and on a cloud provider.
Torque is still hot off the presses. Please excuse errors or bugs, and if you do find any, we ask you to let us know so we can fix them.
Torque’s team prepared an open-source code library that implements deployment to DigitalOcean. In time we expect to have many different deployment providers offered, whether by Torque’s team, community contributors, or cloud service vendors themselves.
Once you learn about all aspects of using Torque Framework, you’ll be ready to expand your Torque workspace with additional Torque components. No matter how complex your architecture gets, Torque Framework will ensure that handling it all remains effortless.
While Torque Framework allows you to define any kind of architecture, we’ll start with something simple to demonstrate the concepts behind the framework and the commands of the Torque CLI.
We will create a workspace that has a backend API service and a PostgreSQL database. Then, we will add another backend API service to demonstrate how easy it is to put together any architecture design you need. You can add as many components as your needs require. There’s no limit to how many components you can add.
- 1. Initializing Torque Workspace
- 2. Creating Architecture DAG
- 3. Adding Application Code
- 4. Running on Localhost
- 5. DAG Visualization
- 6. Deployment to Kubernetes on DigitalOcean
- 7. Evolving the DAG
- 8. “Deleting” the Deployment