1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-25 16:00:22 +01:00
Vichan is the most popular and widely used imageboard software in the world. It is a free, light-weight, fast, highly configurable and user-friendly imageboard software package.
Go to file
2015-02-20 11:20:11 +08:00
inc /meta/ back in top bar next to /operate/ 2015-02-19 19:14:55 -08:00
js Merge pull request #392 from marktaiwan/post-filter 2015-02-20 11:20:11 +08:00
static No file placeholder in catalog 2014-12-31 22:33:10 -08:00
stylesheets Catalog scroll bars 2015-02-16 16:28:56 -08:00
templates Change 2 => 3 2015-02-19 19:15:18 -08:00
tools rebuild2 - multithreaded rebuild script 2015-02-19 19:14:24 -08:00
.gitignore Merge 2015-01-22 08:04:12 +00:00
.gitmodules include wPaint submodule, references bug vichan-devel#20 2014-01-29 21:05:50 +01:00
404.php New templates: ad_top and ad_bottom. Make blank pages if you're not using them 2015-02-16 16:33:13 -08:00
banners.php Allow + in board names, add some new config vars (news+) 2014-12-14 03:25:43 -08:00
boards.php Top 2k in separate file 2015-01-28 17:55:58 -08:00
claim-old.php Replace '8chan.co's with '8ch.net's 2015-01-14 14:15:33 -06:00
claim.php Fix claim 2015-02-16 16:10:35 -08:00
create.php 30 chars 2014-11-09 22:18:06 -08:00
dnsbls_bypass.php Tor posting: I need to document this more. It's missing inc/dnsbls.php too. Wait for a future commit 2015-02-16 16:42:31 -08:00
expire.php Replace '8chan.co's with '8ch.net's 2015-01-14 14:15:33 -06:00
faq.php Update FAQ 2015-01-31 23:31:36 -08:00
index.php Use templates for more pages, i18n 2014-09-26 23:52:02 +00:00
install.php [#184] Added <body> tag classes. Style selector now adds a <body> class. Moved board list under moderator dashboard. 2014-10-18 20:07:04 -05:00
install.sql fix missing semicolons in install.sql 2015-02-17 19:44:39 +01:00
LICENSE.md remove license exception for Tinyboard vanilla, since they moved to a different one 2014-06-21 20:49:13 +02:00
LICENSE.Tinyboard.md move Tinyboard license 2014-04-18 11:13:41 +02:00
mod.php board_log function, ?/log🅱️test 2015-02-16 16:28:22 -08:00
player.php Suppress warnings that might leak information 2014-08-09 12:14:56 +02:00
post.php Merge https://github.com/ctrlcctrlv/infinity 2015-02-17 00:43:00 +00:00
random.php SECURITY: Move indexed option to table...fixes unindexed boards appearing in search/random 2014-10-07 20:54:00 -07:00
README.md Update README.md 2015-01-29 04:29:45 -08:00
search.php SECURITY: Move indexed option to table...fixes unindexed boards appearing in search/random 2014-10-07 20:54:00 -07:00

infinity

About

infinity is a fork of vichan, with the difference that infinity is geared towards allowing users to create their own boards. A running instance is at 8ch.net

Most things (other than installation) that apply to upstream vichan also apply to infinity. See their readme for a detailed FAQ: https://github.com/vichan-devel/vichan/blob/master/README.md

If you are not interested in letting your users make their own boards, install vichan instead of infinity.

Installation

Basic requirements: A computer running a Unix or Unix-like OS(infinity has been specifically tested with and is known to work under Ubuntu 14.x), Apache, MySQL, and PHP

  • 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:

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 fix this, cd into /inc/ and run:

sudo cp secrets.example.php secrets.php

Now open secrets.php and edit the $config['db'] settings to point to the 'infinity' MySQL database you created in Step 1. 'user' and 'password' refer to your MySQL login credentials. It should look something like this when you're finished:

	$config['db']['server'] = 'localhost';
	$config['db']['database'] = 'infinity';
	$config['db']['prefix'] = '';
	$config['db']['user'] = 'root';
	$config['db']['password'] = 'password';
	$config['timezone'] = 'UTC';
	$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 the template files, open /inc/template.php and add:

'auto_reload' => true

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 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

Step 5. The current captcha provider listed inc/config.php is dead. You may want to work around this.

Have fun!