-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker setup for testing and dev failure #64
Comments
Hi @thesquib 👋
For comparison,
|
Hi @Macavity, thanks for getting back to me. I got the same issue running the current commit (as of writing) of main, and I confirmed I had the four containers running. I did figure it out out though, so here's some of my trial and error below. The quick summary is:
When exploring what is going on I tried to execute the console executable: So I installed composer, and then installed symphony (within the docker container) and reran the above. Now I get a Symfony Exception page! So I'm getting somewhere. At a guess it seems the container setup steps are missing something to ready composer and Symfony. I'm thinking something needs to be built still, so looking at the package.json there was a task execute 'encore dev'. To run this I needed to use npm to install sass-loader, sass and ts-loader. After that I get |
At this point I had an empty database (no accounts, no users), so I ran This loaded several users and accounts including my Admin account. However I cannot login with the password as set. I feel I'm missing some important setup steps along the way here! Thanks for your time :) |
@thesquib The issue you are mentioning with the admin account is fixed in the PR #113 which I just merged, just pull recent changes and load the fixtures again using ./bin/console doctrine:fixtures:load I don't think it's possible to migrate the database and load fixtures from outside the container as both commands are interactive and require you to "confirm". 🤔 It's quite strange that composer wasn't working in your container, as that is what should be setup inside https://github.com/Paneon/money-sprouts/blob/main/docker/server/Dockerfile |
For interactive commands I opened a shell into the container and ran them that way. PR 113 fixed the login! I haven't had a chance to get back to looking at this properly though. |
Hi team,
I saw this interesting project and spun up a test/dev environment with docker following the readme, however I'm greeted with the errors below when trying to browse to the main page (port 8101). It looks like the Symfony runtime isn't available. I'm thinking the readme may have left off some additional requirements but I'm not sure. I'll keep having a look but wondered if you'd spot what was going on straightaway! Thanks!
The text was updated successfully, but these errors were encountered: