Install - shish/shimmie2 GitHub Wiki
Requirements
- "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)
Get the Code
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.
Install
- 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~
Webserver Integrations
For integration with nginx, lighttpd, varnish, etc - see the https://github.com/shish/shimmie2-examples repository