pith/demo-app

0.2.0 2024-05-26 05:08 UTC

README

⚠️ (Not ready yet) ⚠️

pith-demo-app

Pith Framework - Demo Application

⚠️ (Not ready yet) ⚠️

Installation

1) Clone / Copy to project folder.

2) Install Composer

  • Open the terminal and navigate to the project folder.
  • Install Composer. Follow the instruction at Download Composer.

3) Run Composer

  • Test PHP version
php -v
  • See that Composer is really there and working.
php composer.phar
  • Run Composer:
php composer.phar install

php composer.phar update

3) Copy runnable scripts

cp vendor/pith/framework/pith .

cp vendor/pith/framework/mig .

4) Configure the Env file

  • Copy env.dist.php to env.php
  • Add your own settings.

5) Run Migrations

  • Test that doctrine migrations will work.
php mig
  • Look at the list of migrations
php mig migrations:list
  • Run all migrations
php mig migrations:migrate