Sequenzia/README.md

38 lines
2.2 KiB
Markdown
Raw Normal View History

2014-01-24 14:30:11 +01:00
# MyImouto
2013-10-27 20:49:58 +01:00
MyImouto is a port of [Moebooru](https://github.com/moebooru/moebooru) to PHP and MySQL. In order for this to be an actual port (or as close as possible), MyImouto uses a custom framework that is based on Ruby on Rails, thus the code from Moebooru is transcribed to PHP with some modifications here and there to fit the target language and framework.
2014-05-03 15:39:25 +02:00
MyImouto is still under development, although practically complete. For more information about its features, changes and additions, please refer to the [About MyImouto](https://github.com/myimouto/myimouto/wiki/About-MyImouto) wiki. For news about the booru, you can checkout the [blog](http://pop-works.blogspot.com), where I post from time to time.
2013-10-27 20:49:58 +01:00
2014-01-24 14:30:11 +01:00
## Requirements
2013-10-27 20:49:58 +01:00
2014-01-24 14:30:11 +01:00
* PHP 5.4 or higher.
* MySQL v5.5 or higher.
* PHP libraries:
* GD2
* PDO
* cURL
* Imagick (recommended)
* Memcached (recommended)
* Composer (Dependency Management for PHP).
* If running under Apache, the Rewrite mod must be enabled. Also, to serve gzipped CSS and JS files, the Headers mod is needed.
2013-10-27 20:49:58 +01:00
2014-01-24 14:30:11 +01:00
## Installation
2013-10-27 20:49:58 +01:00
2014-01-24 14:30:11 +01:00
For an explained, step-by-step guide, please check the [How to Install](https://github.com/myimouto/myimouto/wiki/How-to-install) guide. Otherwise, here's the quick guide for advanced users:
2013-12-07 21:37:27 +01:00
* Install system dependencies: `composer install`.
* Create a database for the booru.
* Create `config/config.php` and `config/database.yml` by copying their respective _.example_ files.
* Set your database configuration in `config/database.yml`.
2014-01-24 14:30:11 +01:00
* Configure the booru by editing `config/config.php`. For a minimum configuration, both `server_host` and `url_base` options must be correctly configured.
2013-12-07 21:37:27 +01:00
* Run the installer: `php install.php`. Enter a name and password for the admin account when asked, then wait for the installation to finish.
2014-01-24 14:30:11 +01:00
* Finally, point the document root of your web server to the `public` folder. That's where the index.php file is.
2013-12-07 21:37:27 +01:00
2014-01-24 14:30:11 +01:00
## Updating
2013-10-27 20:49:58 +01:00
2014-01-24 14:30:11 +01:00
Every time you update the files, don't forget to run `composer update` to update dependencies, specially for the framework, and also run `php config/boot.php db:migrate` to run database migrations (if any).