mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-20 11:44:05 +00:00
Improvements to SQLite dev setup
This commit is contained in:
@@ -32,9 +32,9 @@ services:
|
|||||||
ADMINER_PLUGINS: tables-filter
|
ADMINER_PLUGINS: tables-filter
|
||||||
ADMINER_DESIGN: konya
|
ADMINER_DESIGN: konya
|
||||||
volumes:
|
volumes:
|
||||||
- ../database/database.sqlite:/database.sqlite
|
- ../database:/database
|
||||||
ports:
|
ports:
|
||||||
- '54320:8080'
|
- '8080:8080'
|
||||||
networks:
|
networks:
|
||||||
- invoiceshelf-dev
|
- invoiceshelf-dev
|
||||||
|
|
||||||
@@ -18,6 +18,10 @@ if [ ! -d vendor ]; then
|
|||||||
composer install
|
composer install
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -f database/database.sqlite ]; then
|
||||||
|
cp database/stubs/sqlite.empty.db database/database.sqlite
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -f .env ]; then
|
if [ ! -f .env ]; then
|
||||||
cp .env.example .env
|
cp .env.example .env
|
||||||
php artisan key:generate --force
|
php artisan key:generate --force
|
||||||
|
|||||||
Reference in New Issue
Block a user