You will need PHP v7.4+ installed along with composer
.
choco install php
brew install [email protected]
git clone [email protected]:TomorrowIdeas/LibraryService
composer install
You will need composer
installed. If you do not have composer installed, you can follow these directions to get it for your system.
make migrate
Running the migrations will create the database schemas/tables.
make seed
Seeding the database will create fake/mock data.
php -S localhost:8000 -t app/Http/public/
vendor/bin/phinx create MyNewMigrationFile
A migration stub will be created in the database/migrations
folder. You can now open it up and begin creating your migration. Don't forget to run the migrations again to get your newly created schema updates into the database.
If your new schema will require mock data, you can edit the database/seeds/DefaultSeeder.php
file.
If you would like to scrub the database and start clean, simply delete the database file.
rm database/database.sqlite3
Don't forget to run migrations again and seed your database.
make test
make analyze