Source code of Leftypol imageboard
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
969 B

14 years ago
# Tinyboard - A lightweight PHP imageboard.
## Installation
1. Tinyboard requires a MySQL database and a user to work. Create one.
2. Import 'install.sql' into the database
using phpMyAdmin
OR
14 years ago
`mysql -uUSERNAME -pPASSWORD DATABASE < install.sql`
14 years ago
3. Edit 'inc/config.php' to suit your installation
14 years ago
4. Make sure that the directories used by TinyBoard are writable. Depending on your setup, you may need to chmod the directories to 777 using `chmod direcotry 777`.
14 years ago
The default directories are
- /res
- /src
- /thumb
You will also need to chmod the root directory so that static HTML files like index.html can be made.
5. Ensure everything is okay by running test.php in a browser. The script will try and help you correct your errors.
6. Run the post.php script. It should create an index.html and redirect you to it if everything is okay.
7. Optional (highly recommended): Delete test.php and perhaps install.sql and this README