You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the [command line tool](cli.md) to [initialize the database](migrate.md) and configure your installation. [Configuration](configuration.md) can also be done via environment variables.
54
54
55
-
## Manual Setup
55
+
## Manual Setup (production)
56
56
57
57
Of course, you can run the whole thing the classical way.
58
58
59
59
### Requirements
60
60
61
+
- PHP 8.1 or higher
62
+
- SQLite extension for PHP
63
+
- Web server (Apache, Nginx, etc.)
64
+
65
+
### Installation Steps
66
+
67
+
1. Download the latest meh-release.zip from https://github.com/splitbrain/meh/releases
68
+
69
+
2. Unzip the archive on your server
70
+
```bash
71
+
unzip meh-release.zip
72
+
```
73
+
3. Point the document root of your web server to the `public` directory
74
+
75
+
Use the [command line tool](cli.md) to [initialize the database](migrate.md) and configure your installation. [Configuration](configuration.md) can also be done via environment variables.
76
+
77
+
### URL Rewriting
78
+
79
+
Meh requires URL rewriting to work correctly. There's a `.htaccess` file included that handles this for Apache. For other web servers, you need to configure URL rewriting manually.
80
+
81
+
82
+
## Manual Setup (development)
83
+
84
+
If you want to tinker with the code, you will need to use composer and node to install and build the dependencies.
85
+
86
+
### Requirements
87
+
61
88
- PHP 8.1 or higher
62
89
- SQLite extension for PHP
63
90
- Composer (for installation)
@@ -75,7 +102,7 @@ Of course, you can run the whole thing the classical way.
75
102
2. Install backend dependencies:
76
103
```bash
77
104
cd backend
78
-
composer install --no-dev
105
+
composer install
79
106
cd ..
80
107
```
81
108
@@ -87,11 +114,9 @@ Of course, you can run the whole thing the classical way.
87
114
cd ..
88
115
```
89
116
90
-
4. Point your web server to the `public` directory
117
+
4. Use the PHP development server your web server to the `public` directory
118
+
```bash
119
+
php -S localhost:8000 -t public
120
+
```
91
121
92
122
Use the [command line tool](cli.md) to [initialize the database](migrate.md) and configure your installation. [Configuration](configuration.md) can also be done via environment variables.
93
-
94
-
95
-
### URL Rewriting
96
-
97
-
Meh requires URL rewriting to work correctly. There's a `.htaccess` file included that handles this for Apache. For other web servers, you need to configure URL rewriting manually.
0 commit comments