Selfhost
Info
Follow these quick steps to install and spin up the Cursion Platform with a SELFHOST
plan.
Prompt Based
Use this script to have the system walk you through configuring your self hosted version.
- Spin up a linux server running the latest version of Ubuntu (>= 2Gi RAM)
- Using your custom domain, point two sub-domains to your new server:
- Create an
A
record forapp.yourdomain.com
- Create an
A
record forapi.yourdomain.com
- Create an
- SSH into your Ubuntu server as the
root
user - Copy and run the installation script below:
curl -sSL https://cursion.dev/selfhost/install | bash
- Retrieve your Cursion License key (
cursion-license-1234abce...
) from https://app.cursion.dev/account - Retrieve your OpenAI API key from https://platform.openai.com/api-keys
- Follow the script prompts to spin up the services
- Verify your installation by visiting
app.yourdomain.com
&api.yourdomain.com
NOTE: It may take several minutes to fully spin up the Cursion platform
Programmatic
Use this script to pass all required arguments to the install script and skip any prompts or inputs. Ideal for programmatic deployments.
- Spin up a linux server running the latest version of Ubuntu (>= 2Gi RAM)
- Retrieve your Cursion License key (
cursion-license-1234abce...
) from https://app.cursion.dev/account - Retrieve your OpenAI API key from https://platform.openai.com/api-keys
- Using your custom domain, point two sub-domains to your new server:
- Create an
A
record forapp.yourdomain.com
- Create an
A
record forapi.yourdomain.com
- Create an
- SSH into your Ubuntu server as the
root
user - Copy and run the installation script below:
curl -sSL https://cursion.dev/selfhost/install | bash -s -- \
<system_password> \
<license_key> \
<admin_email> \
<admin_password> \
<server_domain> \
<client_domain> \
<openai_api_key>
- Verify your installation by visiting
app.yourdomain.com
&api.yourdomain.com
Args definitions:
Name | Description | Required |
---|---|---|
system_password | The password used by the server user during deployment | YES |
license_key | Your license key found in your Cursion account | YES |
admin_email | The email associated with your admin account on your private instance | YES |
admin_password | The password associated with your admin account on your private instance | YES |
server_domain | Your domain for your private server instance e.g. api.yourdomain.com | YES |
client_domain | Your domain for your private client instance e.g. app.yourdomain.com | YES |
openai_api_key | Your personal OpenAI API token | YES |