[GH-ISSUE #12] Sample .sql? #9

Closed
opened 2026-02-27 09:12:33 +03:00 by kerem · 4 comments
Owner

Originally created by @firstchair on GitHub (Oct 22, 2019).
Original GitHub issue: https://github.com/maelstrom-cms/odin/issues/12

Cool project, looks very intresting.
Do you maybe have a sample .sql? Cant get it to work...

Originally created by @firstchair on GitHub (Oct 22, 2019). Original GitHub issue: https://github.com/maelstrom-cms/odin/issues/12 Cool project, looks very intresting. Do you maybe have a sample .sql? Cant get it to work...
kerem closed this issue 2026-02-27 09:12:33 +03:00
Author
Owner

@OwenMelbz commented on GitHub (Oct 22, 2019):

Hi,

What can you not get to work? Are there any errors or anything.

I'm afraid just sending an .sql dump won't really work as it requires sequences of events, and caching for various things which the app handles, so a database is only 1 pieces of the puzzle.

I'll happily try help out get it installed though.

<!-- gh-comment-id:544989297 --> @OwenMelbz commented on GitHub (Oct 22, 2019): Hi, What can you not get to work? Are there any errors or anything. I'm afraid just sending an .sql dump won't really work as it requires sequences of events, and caching for various things which the app handles, so a database is only 1 pieces of the puzzle. I'll happily try help out get it installed though.
Author
Owner

@firstchair commented on GitHub (Oct 22, 2019):

Thanks for the quick reply :-)

Im getting this error:
Illuminate \ Database \ QueryException (42S02)
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'odin.users' doesn't exist (SQL: select * from users where id = 0 limit 1)

I made a database but maybe its not connecting right...

<!-- gh-comment-id:545007806 --> @firstchair commented on GitHub (Oct 22, 2019): Thanks for the quick reply :-) Im getting this error: Illuminate \ Database \ QueryException (42S02) SQLSTATE[42S02]: Base table or view not found: 1146 Table 'odin.users' doesn't exist (SQL: select * from `users` where `id` = 0 limit 1) I made a database but maybe its not connecting right...
Author
Owner

@firstchair commented on GitHub (Oct 22, 2019):

Needed to do php artisan migrate to let it work...
I'm not that familiar with laravel projects... But for sure we're going to give it a try 😀

<!-- gh-comment-id:545021765 --> @firstchair commented on GitHub (Oct 22, 2019): Needed to do php artisan migrate to let it work... I'm not that familiar with laravel projects... But for sure we're going to give it a try 😀
Author
Owner

@OwenMelbz commented on GitHub (Oct 22, 2019):

Ah yes! That will do it!

Incase you haven't already a npm install and npm run dev will probably get the CSS working if it's missing that.

I think you'll need to setup the .env file as well and ideally use redis for the caching as I believe it uses tagged caches at some points.

I'm just going to close this issue now as it's not a bug as such, but will try respond to any more questions you've got.

<!-- gh-comment-id:545071323 --> @OwenMelbz commented on GitHub (Oct 22, 2019): Ah yes! That will do it! Incase you haven't already a `npm install` and `npm run dev` will probably get the CSS working if it's missing that. I think you'll need to setup the `.env` file as well and ideally use `redis` for the caching as I believe it uses tagged caches at some points. I'm just going to close this issue now as it's not a bug as such, but will try respond to any more questions you've got.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/odin-maelstrom-cms#9
No description provided.