Skip to content

Commit

Permalink
corection
Browse files Browse the repository at this point in the history
  • Loading branch information
alancolant committed Dec 9, 2024
1 parent deb3ea7 commit bded762
Showing 1 changed file with 110 additions and 7 deletions.
117 changes: 110 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,114 @@
# How to use
# Multipress Setup Guide

Multipress is a powerful tool to manage and deploy WordPress instances with ease. Follow these steps to get started:

---

## **1. Download Multipress**

Download the latest release of Multipress from GitHub:

```bash
# Generate Caddy + Mysql + Model
sudo ./0-generate_base.sh
wget https://github.com/quix-labs/multipress/releases/latest/download/multipress
```

---

## **2. Make Multipress Executable**

Make the downloaded file executable:

```bash
chmod u+x ./multipress
```

---

## **3. Add Multipress to Your System Path**

Move Multipress to a directory in your system's `PATH` (e.g., `/usr/local/bin`):

```bash
sudo mv ./multipress /usr/local/bin
```

Confirm it’s accessible by running:

```bash
multipress --help
```

---

## **4. Install Requirements**

Check all requirement and auto install them

```bash
multipress doctor
```

---

## **5. Create a New Project**

# Clone model and generate x instance, see `.env`
sudo ./1-generate_instances.sh
Run the following command and follow the prompts to set up your project:

#To make backups
sudo ./2-generate_backups.sh
```bash
multipress new
cd multipress
```

---

> All the subcommand must be run into your project directory
## **6. Deploy the Project**

Navigate to your project directory and deploy:

```bash
multipress deploy
```

---

## **7. Configure Your WordPress Model**

After deployment, configure your WordPress instance as desired.

---

## **8. Generate Multiple Instances**

Replicate your WordPress instance as needed:

```bash
multipress replicate 10
```

> Replace `10` with the number of instances you want to generate.
---

## **9. Generate All backups**

Generate backup of all your instances:

```bash
multipress backup
```

---
You're all set! 🎉


# Additional commands

* Stop project: `multipress down`
* Start project: `multipress up`

# Removing project
1. Go to your project directory: `cd your_project`
2. Stop all containers: `multipress down`
3. You can now remove all the project folder (cannot be recovered): `rm -r ./your_project`

0 comments on commit bded762

Please sign in to comment.