fix: reorganize the structure of commands

This commit is contained in:
mangeshrex 2024-10-15 11:50:31 +05:30
parent 3639a01d2b
commit 084d70ccaa

View File

@ -16,20 +16,6 @@ the same code we use for our own cloud service.
## Getting started
### Dependencies
Please follow the steps below to install all the necessary dependencies to run Ente on a fresh server or VPS.
The commands and package names may vary depending on the operating system and it's package managers.
```sh
# installing npm and yarn
sudo apt update
sudo apt install nodejs npm
sudo npm install -g yarn // to install yarn globally
```
#### Installing Docker
Refer to [How to install Docker from the APT repository](https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository) for detailed instructions.
@ -47,6 +33,16 @@ docker compose up --build
> You can also use a pre-built Docker image from `ghcr.io/ente-io/server`
> ([More info](https://github.com/ente-io/ente/blob/main/server/docs/docker.md))
Install the necessary dependencies for running the web client
```sh
# installing npm and yarn
sudo apt update
sudo apt install nodejs npm
sudo npm install -g yarn // to install yarn globally
```
Then in a separate terminal, you can run (e.g) the web client
```sh