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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃殌 Feature: Single command installer script #4518

Open
2 tasks done
diamondzxd opened this issue Oct 17, 2022 · 4 comments
Open
2 tasks done

馃殌 Feature: Single command installer script #4518

diamondzxd opened this issue Oct 17, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@diamondzxd
Copy link

馃敄 Feature description

Adding a single command installer script so that the people who have a little idea about Docker, may not get stuck in installing docker and the dependencies for the same.

We can wrap it up into a bash script, which will take care of installing Docker and then installing the Appwrite container. The script will take care of installing the available updates and all the dependencies.

馃帳 Pitch

After talking with @adityaoberai in a breakout room yesterday, the current installation process was criticized as AppWrite uses docker and there were many beginners in the room, who were not familiar with Docker, and often ran into issues installing it on servers.

I pitched about a single command installer script as available in several self hosted projects, and was asked to Open a Detailed Issue, so here it is! :)

The idea is inspired from the one click installers available on Projects like CyberPanel (https://community.cyberpanel.net/docs?topic=82), VestaCP (https://vestacp.com/install/) and AzuraCast (https://docs.azuracast.com/en/getting-started/installation/docker).

Point to note is, Azuracast is also docker based behind the scenes, but its installation process is incredibly simple for even the self hosting beginners. They do not have to be familiar with the Docker's environment.

This feature can open the doors for making the installation process smooth, and provider agnostic. A user will just have to rent a VPS / Cloud VM, and run the script to get things rolling. Thus, easing the process for developers until Appwrite collaborates with more cloud providers for the Image.

馃憖 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

馃彚 Have you read the Code of Conduct?

@varadkarpe
Copy link

Hey, can I contribute to this?

@Meldiron
Copy link
Contributor

Meldiron commented Oct 18, 2022

@eldadfux I think we wanted to do something like this looong time ago.

It was supposed to be something simple just like Deno or Docker has.

Deno: curl -fsSL https://deno.land/install.sh | sh
Docker: curl -fsSL https://get.docker.com | sh

Notice docker has this cool subdomain get.docker.com that is easy to remember and you can copy&paste command from there. As well as see the whole bash script, which is cool and secure, if you ask me.

@diamondzxd
Copy link
Author

diamondzxd commented Oct 18, 2022

We could make a proper bash script then..
Which would allow to see the current upstream version, install, or uninstall the appwrite instance.

Would also love some helper scripts to easily backup and restore the data, or a couple more usecases, as currently used in Mailcow*

*Reference : https://github.com/mailcow/mailcow-dockerized/tree/master/helper-scripts

PS : Let me know what you guys think, and I'll start contributing on this.

@diamondzxd
Copy link
Author

Hey @Meldiron @eldadfux , any update?

@stnguyen90 stnguyen90 added enhancement New feature or request and removed feature labels Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants