If you want to deploy your application with DevSpace CLI, your application will need a working Dockerfile. DevSpace can also create a dockerfile for your project, if you don't have one.
If you do not have a project to work with, you can checkout one of our demo projects (optional)
git clone https://github.com/devspace-cloud/quickstart-nodejs cd quickstart-nodejs
git clone https://github.com/devspace-cloud/quickstart-python cd quickstart-python
git clone https://github.com/devspace-cloud/quickstart-golang cd quickstart-golang
git clone https://github.com/devspace-cloud/quickstart-ruby cd quickstart-ruby
git clone https://github.com/devspace-cloud/quickstart-php cd quickstart-php
You can also use any existing project with Dockerfile. If you do not have a Dockerfile take a look at containerize an existing project. DevSpace works with every Dockerfile.
Initialize your project
Run the following command within your project to initialize DevSpace:
DevSpace CLI will automatically create the following files:
project/ # your project directory | |--.devspace/ # DevSpace directory | |-config.yaml # DevSpace config | |--chart/ # Helm chart (defines how to deploy your application) | |-Chart.yaml # chart definition (e.g. name, version) | |-values.yaml # values for the template variables | |-templates/ # directory containing the template files
Learn how to customize Helm chart and image building (optional)
See the following guides to: