ThisIsQasim / TastyIgniter

TastyIgniter Docker
GNU General Public License v3.0
33 stars 28 forks source link

After last command below are the errors. #10

Open oldercodergithub opened 6 months ago

oldercodergithub commented 6 months ago

`In Connection.php line 712:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'tastyigniter.ti_users' doesn't exist (SQL: select * from ti_users where username = admin limit 1)

In Exception.php line 18:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'tastyigniter.ti_users' doesn't exist

In PDOConnection.php line 82:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'tastyigniter.ti_users' doesn't exist

`

ThisIsQasim commented 6 months ago

Consider waiting for the db container to come up before running the init. You can try rerunning the init docker compose exec app php artisan igniter:install --no-interaction

or start fresh

mkdir tastyigniter && cd tastyigniter
curl -LO https://github.com/ThisIsQasim/TastyIgniter/raw/master/docker-compose.yml
docker compose up db -d
sleep 10
docker compose up -d
docker compose exec app php artisan igniter:passwd admin