2010-11-03 10:04:30 -04:00
|
|
|
# Tinyboard - A lightweight PHP imageboard.
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
1. Tinyboard requires a MySQL database and a user to work. Create one.
|
2010-11-03 10:15:11 -04:00
|
|
|
2. Import 'install.sql' into the database. There are several ways to do this.
|
2010-11-03 10:13:54 -04:00
|
|
|
- using phpMyAdmin
|
|
|
|
- `mysql -uUSERNAME -pPASSWORD DATABASE < install.sql`
|
2010-11-03 10:18:09 -04:00
|
|
|
3. Edit '[inc/config.php][c]' to suit your installation
|
2010-11-03 10:13:54 -04:00
|
|
|
4. Make sure that the directories used by TinyBoard are writable. Depending on your setup, you may need to `chmod` the directories to 777.
|
|
|
|
The default directories are:
|
2010-11-03 10:15:11 -04:00
|
|
|
- ./res
|
|
|
|
- ./src
|
|
|
|
- ./thumb
|
|
|
|
- ./
|
2010-11-03 10:18:09 -04:00
|
|
|
5. Ensure everything is okay by running [test.php][t] in a browser. The script will try and help you correct your errors.
|
|
|
|
6. Run the [post.php][p] script. It should create an index.html and redirect you to it if everything is okay.
|
2010-11-03 10:19:13 -04:00
|
|
|
7. Optional (highly recommended): Delete [test.php][t] and perhaps [install.sql][i] and this [README][r]
|
2010-11-03 10:04:30 -04:00
|
|
|
|
2010-11-03 10:18:09 -04:00
|
|
|
[t]: http://github.com/savetheinternet/Tinyboard/blob/master/test.php
|
|
|
|
[p]: http://github.com/savetheinternet/Tinyboard/blob/master/post.php
|
|
|
|
[c]: http://github.com/savetheinternet/Tinyboard/blob/master/inc/config.php
|
2010-11-03 10:19:13 -04:00
|
|
|
[i]: http://github.com/savetheinternet/Tinyboard/blob/master/install.sql
|
|
|
|
[r]: http://github.com/savetheinternet/Tinyboard/blob/master/README.md
|