This file is the site Rules / Info page linked from index.php.
It documents posting rules, quick admin/dev setup steps, and how to run the built-in PHP dev server for local testing.
- No illegal content. Do not post child sexual abuse material, copyrighted material you don't own, or content that violates local laws. If unsure — don't post it.
- No doxxing or sharing private personal information. Sharing someone's private data is strictly prohibited.
- No targeted harassment or threats. Keep discussion anonymous and avoid personal attacks.
- No commercial spam. Repeated promotional posts or low-effort spam will be removed.
- One image + one comment per post. Follow board-specific posting conventions.
- Respect moderator/admin actions. If you disagree, raise it politely in the designated place.
- Obey board-specific rules shown on each board's page.
- Image types allowed: .jpg, .jpeg, .png, .gif, .webp
- Max image size (default): 5 MB
- Comment length: up to 2000 characters
- Use
>greentextfor greentext lines - Use
>>123to quote post number 123 (will be converted to a link) - Do not include raw HTML in posts — all tags are stripped server-side.
- Copy the
.env.exampleto.envand update values (see example below). - Create the database and run the provided SQL migrations in
migrations/create_imageboard_tables.sql. - Create the
adminstable (schema already provided in the project docs) and optionally create the first admin via the CLI helper.
Example .env values (create .env in project root):
DB_HOST=127.0.0.1
DB_NAME=vertex_foundry
DB_USER=root
DB_PASS=secret
SITE_NAME=Vertex Foundry
BASE_URL=http://127.0.0.1:8000
Note: The project uses native PHP and MySQLi. Move credentials to .env and ensure config.php reads them (the project ships with a simple .env.example pattern — update config.php if needed).
Run the helper script to create an admin from the CLI:
php scripts/create_admin.php --username=admin --password=secret
From the project root run:
php -S 127.0.0.1:8000 -t .Then open a browser and visit these pages to test the app:
- Home / Board list: http://127.0.0.1:8000/
- Board view: http://127.0.0.1:8000/board.php?slug=b (replace
bwith a board shortname) - New thread page: http://127.0.0.1:8000/post.php?new=1&board=2 (replace
2with the board id) - Thread view: http://127.0.0.1:8000/thread.php?id=123
- Admin panel: http://127.0.0.1:8000/admin/index.php
- Login page: http://127.0.0.1:8000/login.php
- If you see warnings about PHP versions (coalesce operator, typed properties, etc.), set PhpStorm's language level to match your PHP runtime or upgrade PHP to a newer version.
- To keep IDE files out of git, add
.idea/to.gitignoreand rungit rm --cached -r .idea(keeps files locally). See the project README for common git commands. - Image processing uses GD. If you see deprecation warnings for certain functions on PHP 8.5, update the image helper to avoid deprecated calls.