-
-
Notifications
You must be signed in to change notification settings - Fork 115
Install
Shish edited this page Dec 4, 2024
·
15 revisions
- "Actively Supported" PHP (8.3+ as of writing)
- A database, any of:
- SQLite 3.37+ (simplest - recommended for small or medium installs with tens of users and thousands of posts)
- PostgreSQL 14+ (most scalable - recommended for large sites with thousands of users and millions of posts)
- MySQL 8.0+ (if that's all your web host offers)
- An image thumbnailing tool, any of:
- ImageMagick (recommended)
- GD (if that's all your web host offers)
Two main options:
- Via Git (allows easiest updates via
git pull
):git clone https://github.com/shish/shimmie2
- Install Composer.
-
brew install composer
on macOS
-
- Run
composer install
in the shimmie folder.
- Via Stable Release: Download the latest release under Releases.
- Create an empty database (skip if using SQLite)
- Start a PHP server at the project root directory:
php -S localhost:9000 tests/router.php
- Open http://localhost:9000/ in a web browser
- If prompted, enter the location of the database
- Click "Install". Hopefully you'll end up at the welcome screen; if not, you should be given instructions on how to fix any errors~
For integration with nginx, lighttpd, varnish, etc - see the https://github.com/shish/shimmie2-examples repository