-
Notifications
You must be signed in to change notification settings - Fork 8
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
Root image path not resolvable "/srv/app/docker/storage/covers #72
Comments
You should be able to change the storage directory by adding |
Thanks, that helps. But I'm still running into issues loading the fixtures, because the directories don't exist. The Dockerfile creates them:
But I'm wondering if there's a better way, like creating the directories when the fixtures are loaded or some other initialization process. I'd like to run the application without running docker, here's my simple install git clone git@github.com:NoAgenda/website.git no-agenda && cd no-agenda
cat > .env.local << 'END'
APP_STORAGE_PATH=./.storage
DATABASE_URL=sqlite:///%kernel.project_dir%/no-agenda.db
END
composer install
|
so assets:build could create the directory if it doesn't exist? Because the next step is syncing, right? |
Thoughts on how to install without docker? I can tweak assets:build, but I'm not sure that's the right place for it. |
I had to refresh my memory for this one. Like you mentioned, the covers directory simply needs to exist for LiipImagine to function. I don't have any problem with running the website without Docker. I choose to fully use Docker because it keeps the dev environment very similar to production, including MySQL container and those things. But I'm starting to change my mind on how to run my projects locally so I'm open to making changes. For now, I don't dislike the Docker setup so it's still my preferred way. Looking at your install script, would one of the following two workarounds be of help?
Or am I still misunderstanding your problem? |
The problem isn't the path to storage, it's that if the subdirectories in
storage don't exist, and they're required.
My hack to to manually do mkdir (storagepath)/covers, etc.
…On Tue, Dec 12, 2023 at 2:39 PM Tim Goudriaan ***@***.***> wrote:
I had to refresh my memory for this one. Like you mentioned, the covers
directory simply needs to exist for LiipImagine to function.
I don't have any problem with running the website without Docker. I choose
to fully use Docker because it keeps the dev environment very similar to
production, including MySQL container and those things. But I'm starting to
change my mind on how to run my projects locally so I'm open to making
changes. For now, I don't dislike the Docker setup so it's still my
preferred way.
Looking at your install script, would one of the following two workarounds
be of help?
cat > .env.local << 'END'
APP_STORAGE_PATH=%kernel.project_dir%/.storage
# or
APP_STORAGE_PATH=${PWD}/.storage
END
Or am I still misunderstanding your problem?
—
Reply to this email directly, view it on GitHub
<#72 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEXIQM2R2EEKBDJM6CWXG3YJCXFXAVCNFSM6AAAAABAHPQI6GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJSGY4DQNJQHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I couldn't clear the cache running the basic git clone .. && composer install.
So I ran docker, but it's still can't solve that path (hard-coded for liip_imagine).
Can you tweak the application so that it runs without needing docker or specific file/directories system?
Thx.
The text was updated successfully, but these errors were encountered: