😽 Simple blogging application written with PHP with many fun things
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
May ad2840ff13 add catppuccin theme 7 days ago
.devcontainer Create devcontainer-docker.json 6 months ago
.github update qodana action 4 months ago
bin Update Namespace 8 months ago
config add catppuccin theme 7 days ago
data Remove app.db from repository 8 months ago
docker Update to use new images 8 months ago
plugins update 4 months ago
resources first commit 11 months ago
src add catppuccin theme 7 days ago
templates Merge branch 'main' into dev/force-color-scheme 7 days ago
tests Add bog links 1 month ago
webroot add catppuccin theme 7 days ago
webroot_src update typography loading for asian languages 7 days ago
.editorconfig first commit 11 months ago
.env.example update typography loading for asian languages 7 days ago
.gitattributes first commit 11 months ago
.gitignore Add option to change color scheme variant 3 weeks ago
.gitlab-ci.yml first commit 11 months ago
.gitmodules add markdown 5 months ago
.htaccess first commit 11 months ago
.lando.yml add some comments 2 months ago
.node-version add vite 5 months ago
CODEOWNERS Update CODEOWNERS 8 months ago
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 8 months ago
Dockerignore Update to use new images 8 months ago
LICENSE first commit 11 months ago
Meow-Ctl.psm1 Create Meow-Ctl.psm1 6 months ago
README.md update Readme 5 months ago
compose-dev.yml Use .env file 6 months ago
composer.json Update dependencies 1 month ago
composer.lock update typography loading for asian languages 7 days ago
create first commit 11 months ago
docker-compose.prod.yml update prod config 5 months ago
index.php first commit 11 months ago
package.json add vite 5 months ago
phpcs.xml first commit 11 months ago
phpstan.neon suppress generic classes errors in STAN 4 months ago
phpunit.xml.dist first commit 11 months ago
phpunit.xml.dist.bak first commit 11 months ago
vite.config.js add vite 5 months ago
yarn.lock add vite 5 months ago

README.md

MeowBlog

Instalation

Application inside container runs under www-data:www-data user.

sudo chown -R www-data:www-data data/

Create security key

docker compose -f docker-compose.prod.yml run --rm app sh -c "php bin/cake.php generate_security_key"

Create Database

docker compose -f docker-compose.prod.yml run --rm app sh -c "php bin/cake.php migrations migrate"

Start Application

docker compose -f docker-compose.dev.yml up -d

More information

Development

Requirements

  • Docker or Docker Desktop
  • Lando
  • PHP 8.1 and up
  • Node
  • Yarn

For backend

lando start
lando composer install
lando php bin/cake.php migrations migrate

For frontend

fnm install # to install node - optionally
yarn install
yarn build

Source codes for frontend are stored in webroot_src, currently only styles which is slightly modified picocss.

‼️ After successfull build you need to change css path in templates/layout/default.php. (not ideal but for now it is like it is).

Application build is located in webroot/app.