Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

softaculous: request easy install script #9256

Open
imanbarati opened this issue Dec 27, 2024 · 3 comments
Open

softaculous: request easy install script #9256

imanbarati opened this issue Dec 27, 2024 · 3 comments

Comments

@imanbarati
Copy link

Want to self host on my own domain in ubuntu 20 vmware
ran bash curl sl https://git.new/20
error
"API rate limit exceeded for ip address. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)"

is there another way to install it
Image

@pranav-kadam
Copy link

Did you try setting it up manually?

Step 1: Set Up the Environment File
Create the .env File

Copy the example environment file to a new .env file in your working directory:

curl -o .env https://raw.githubusercontent.com/twentyhq/twenty/refs/tags/v0.32.0/packages/twenty-docker/.env.example

Generate Secret Tokens

Run the following command to generate a unique random string:

openssl rand -base64 32
Important: Keep this value secret / do not share it.

Update the .env

Replace the placeholder value in your .env file with the generated token:

APP_SECRET=first_random_string
Set the Postgres Password

Update the PGPASSWORD_SUPERUSER value in the .env file with a strong password.

PGPASSWORD_SUPERUSER=my_strong_password
Step 2: Obtain the Docker Compose File
Download the docker-compose.yml file to your working directory:

curl -O https://raw.githubusercontent.com/twentyhq/twenty/refs/tags/v0.32.0/packages/twenty-docker/docker-compose.yml Step 3: Launch the Application
Start the Docker containers:

docker-compose up -d
Step 4: Access the Application
Open your browser and navigate to http://localhost:3000.

@imanbarati
Copy link
Author

imanbarati commented Dec 28, 2024

what's next
how do i connect it to my domain and how do i do a cloudflare tunnel

@pranav-kadam
Copy link

You gotta modify your .env file to connect to your domain.

Without Reverse Proxy (Direct Access):
If you're accessing the application directly without a reverse proxy:

SERVER_URL=http://your-domain-or-ip:3000

With Reverse Proxy (Standard Ports):
If you're using a reverse proxy like Nginx or Traefik and have SSL configured:

SERVER_URL=https://your-domain-or-ip

With Reverse Proxy (Custom Ports):
If you're using non-standard ports:

SERVER_URL=https://your-domain-or-ip:custom-port

Update the .env File
Open your .env file and update the SERVER_URL:

SERVER_URL=http(s)://your-domain-or-ip:your-port

Examples:

Direct access without SSL:
SERVER_URL=http://123.45.67.89:3000

Access via domain with SSL:
SERVER_URL=https://mytwentyapp.com

Restart the Application
For changes to take effect, restart the Docker containers:

docker-compose down
docker-compose up -d

You could set up the cloudfare tunnel usind cloudfared. I think adding your domain name to the ingress field in the config yaml file of the tunnel set up should do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants