Skip to content
No description, website, or topics provided.
PHP HTML CSS JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
config
public
src
templates
tests
translations
.env
.env.test
.gitignore
LICENSE
README.md
TODO.md
composer.json
composer.lock
phpunit.xml.dist
symfony.lock

README.md

TextBoard

Requirements

Installation

git clone https://github.com/linnit/textboard.git
cd textboard
composer install

Create mysql user and grant privileges

CREATE USER 'textboard'@'localhost' IDENTIFIED BY 'somerandompassword';
GRANT ALL PRIVILEGES ON textboard.* TO 'textboard'@'localhost';

Configure environment variables

cp .env .env.local
chmod 600 .env.local

Edit .env.local and update database variables

Create database and table structure

php bin/console doctrine:database:create
php bin/console doctrine:migrations:migrate
php bin/console doctrine:fixtures:load

Cron

Cron is used to remove old posts and unban IP addresses

Obviously replace <path-to-textboard> with the full location on the repository

*/15 * * * *    <path-to-textboard>/bin/console app:delete-old-posts
*/15 * * * *    <path-to-textboard>/bin/console app:delete-old-bans
You can’t perform that action at this time.