~eapl/mebo-es

A fork of mebo (https://hg.sr.ht/~m15o/mebo) but on Spanish, and with tags.
3823f97c — eapl.mx 10 months ago
Fixed plural in months
Started to implement WebAuthn/Passkeys support
Updated Web view for feeds

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~eapl/mebo-es
read/write
git@git.sr.ht:~eapl/mebo-es

You can also use your local clone with git send-email.

#MeBo-es

MeBo is a simple message board system on the Web. Developed in English, but with texts in Spanish. Multilingual support could come later.

Forked by ~eapl from sourcehut - mercurial repo

#Requirements

  • PHP 8.2 with SQLite 3 and MBstring support
  • sqlite3

#On Ubuntu 22.04 check that you have PHP well installed

sudo apt install php8.2 php8.2-sqlite3 php8.2-mbstring

And install PHP CS Fixer https://github.com/PHP-CS-Fixer/PHP-CS-Fixer

#Preparations

  1. Clone this repository
  2. Make a copy of public/includes/config-sample.php in public/includes/config.php. Update the constants to match your environment
  3. To init the DB, tun this on the root folder sqlite3 db.sqlite3 ".read schema.sql"
  4. Run sudo chown -R www-data:www-data .
  5. Push the public/ directory to your Web server

#Test on a local instance

Go to the /public folder and run

php -S 127.0.0.1:8000 -c php.ini

#Fix style

PHP_CS_FIXER_IGNORE_ENV=1 tools/php-cs-fixer/vendor/bin/php-cs-fixer fix .

#Errors with DB

If you encounter errors with the DB, like General error: 8 attempt to write a readonly database Check this: https://stackoverflow.com/questions/3319112/sqlite-error-attempt-to-write-a-readonly-database-during-insert sudo chown -R www-data:www-data .