twentyhq / twenty

Building a modern alternative to Salesforce, powered by the community.
https://twenty.com
GNU Affero General Public License v3.0
15.02k stars 1.48k forks source link

New User: Help Setting Up Twenty CRM on AWS Lightsail #6112

Open muzzamilshaikh opened 4 days ago

muzzamilshaikh commented 4 days ago

Hi there,

I'm interested in using Twenty CRM and am trying to set it up on an AWS Lightsail instance. However, I'm fairly new to self-hosting applications and could use some guidance on the process.

Could you please point me in the right direction for setting up Twenty CRM on AWS Lightsail? Any specific resources or guides you recommend would be greatly appreciated.

Additionally, if there are any general recommendations for new users regarding instance types, resource allocation, or LAMP stack configuration on Lightsail for Twenty CRM, I'd be grateful for any insights.

I appreciate your help!

greptile-apps[bot] commented 4 days ago

To set up Twenty CRM on AWS Lightsail, follow these steps:

  1. Clone the Repository: Clone the twentyhq/twenty repository to your AWS Lightsail instance.

  2. Navigate to Docker Directory: Go to the /packages/twenty-docker directory.

  3. Docker Compose: Use the docker-compose.yml file to set up the necessary services. Run docker-compose up -d to start the services.

  4. Instance Type: For a small to medium-sized deployment, start with a Lightsail instance with at least 2GB RAM and 1 vCPU.

  5. Volumes: Ensure the volumes docker-data, db-data, and server-local-data are properly configured as defined in the docker-compose.yml.

  6. Database Initialization: Use the initialization scripts in the init directory to set up the database.

Refer to the Makefile for additional commands to build and run the Docker containers.

References

/packages/twenty-docker

#### About Greptile This response provides a starting point for your research, not a precise solution. Help us improve! Please leave a ๐Ÿ‘ if this is helpful and ๐Ÿ‘Ž if it is irrelevant. [Ask Greptile](https://app.greptile.com/chat/github/twentyhq/twenty/main) ยท [Edit Issue Bot Settings](https://app.greptile.com/apps/github)
muzzamilshaikh commented 4 days ago

Hi there,

Thank you so much for the detailed instructions on setting up Twenty CRM on AWS Lightsail using Docker Compose. While I appreciate the guide, I'm interested in exploring alternative methods that don't involve Docker.

My question is:

Are there any documented instructions or recommendations for setting up Twenty CRM on AWS Lightsail without using Docker?