mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-24 23:50:11 +01:00
Update README.md
This commit is contained in:
parent
cea12ee665
commit
c64a96d572
@ -16,13 +16,13 @@ A computer running a Unix or Unix-like OS(infinity has been specifically tested
|
||||
* Make sure Apache has read/write access to the directory infinity resides in.
|
||||
* `install.php` is not maintained. Don't use it.
|
||||
|
||||
Step 1. Create infinity's database from the included install.sql file. Enter mysql and create an empty database named 'infinity'. Then, cd into the infinity base directory and run:
|
||||
Step 1. Create infinity's database from the included install.sql file. Enter mysql and create an empty database named 'infinity'. Then cd into the infinity base directory and run:
|
||||
```
|
||||
mysql -uroot -p infinity < install.sql
|
||||
echo 'infinity' > .installed
|
||||
```
|
||||
|
||||
Step 2. /inc/secrets.php does not exist by default, but infinity needs it in order to function. To remedy this, cd into /inc/ and run:
|
||||
Step 2. /inc/secrets.php does not exist by default, but infinity needs it in order to function. To fix this, cd into /inc/ and run:
|
||||
```
|
||||
sudo cp secrets.example.php secrets.php
|
||||
```
|
||||
@ -39,7 +39,7 @@ Now open secrets.php and edit the $config['db'] settings to point to the 'infini
|
||||
$config['cache']['enabled'] = 'apc';
|
||||
```
|
||||
|
||||
Step 3.(Optional) By default, infinity will ignore any changes you make to the template files until you log into mod.php, go to Rebuild, and select Flush Cache. You may find this inconvenient. To make infinity automatically accept your changes to template files, open /inc/template.php and add:
|
||||
Step 3.(Optional) By default, infinity will ignore any changes you make to the template files until you log into mod.php, go to Rebuild, and select Flush Cache. You may find this inconvenient. To make infinity automatically accept your changes to the template files, open /inc/template.php and add:
|
||||
|
||||
```
|
||||
'auto_reload' => true
|
||||
@ -47,7 +47,7 @@ Step 3.(Optional) By default, infinity will ignore any changes you make to the t
|
||||
|
||||
To the array of settings passed to Twig_Environment().
|
||||
|
||||
Step 4. Infinity can function in a very barebones fashion after the first two steps, but you should probably install these additional packages if you want to seriously run it and/or contribute to it. ffmpeg may fail to install under certain versions of Ubuntu. If it does, remove it from the script below and install it via an alternate method. Make sure to run the below as root:
|
||||
Step 4. Infinity can function in a very barebones fashion after the first two steps, but you should probably install these additional packages if you want to seriously run it and/or contribute to it. ffmpeg may fail to install under certain versions of Ubuntu. If it does, remove it from this script and install it via an alternate method. Make sure to run the below as root:
|
||||
|
||||
```
|
||||
apt-get install graphicsmagick gifsicle php5-fpm mysql-client php5-mysql php5-cli php-pear php5-apcu; add-apt-repository ppa:jon-severinsson/ffmpeg; add-apt-repository ppa:nginx/stable; apt-get update; apt-get install nginx ffmpeg; pear install Net_DNS2
|
||||
|
Loading…
Reference in New Issue
Block a user