This commit is contained in:
Savetheinternet 2010-11-04 01:13:54 +11:00
parent 0ff3892d48
commit fcae19da58

View File

@ -2,16 +2,17 @@
## Installation ## Installation
1. Tinyboard requires a MySQL database and a user to work. Create one. 1. Tinyboard requires a MySQL database and a user to work. Create one.
2. Import 'install.sql' into the database 2. Import 'install.sql' into the database. There are several ways to do this. Here are some:
using phpMyAdmin - using phpMyAdmin
OR - `mysql -uUSERNAME -pPASSWORD DATABASE < install.sql`
`mysql -uUSERNAME -pPASSWORD DATABASE < install.sql`
3. Edit 'inc/config.php' to suit your installation 3. Edit 'inc/config.php' to suit your installation
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`. 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
The default directories are:
- /res - /res
- /src - /src
- /thumb - /thumb
You will also need to chmod the root directory so that static HTML files like index.html can be made. 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. 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. 6. Run the post.php script. It should create an index.html and redirect you to it if everything is okay.