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.
Savetheinternet
fcae19da58
|
14 years ago | |
---|---|---|
img | 14 years ago | |
inc | 14 years ago | |
res | 14 years ago | |
src | 14 years ago | |
templates | 14 years ago | |
thumb | 14 years ago | |
LICENSE | 14 years ago | |
README.md | 14 years ago | |
install.sql | 14 years ago | |
main.js | 14 years ago | |
post.php | 14 years ago | |
style.css | 14 years ago | |
test.php | 14 years ago |
README.md
Tinyboard - A lightweight PHP imageboard.
Installation
- Tinyboard requires a MySQL database and a user to work. Create one.
- Import 'install.sql' into the database. There are several ways to do this. Here are some:
- using phpMyAdmin
mysql -uUSERNAME -pPASSWORD DATABASE < install.sql
- Edit 'inc/config.php' to suit your installation
- 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: - /res - /src - /thumb
You will also need to chmod the root directory so that static HTML files like index.html can be made.
- Ensure everything is okay by running test.php in a browser. The script will try and help you correct your errors.
- Run the post.php script. It should create an index.html and redirect you to it if everything is okay.
- Optional (highly recommended): Delete test.php and perhaps install.sql and this README