Skip to content
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

Loco starter move fixtures to root folder instead of src #1246

Open
anhnmt opened this issue Feb 5, 2025 · 0 comments
Open

Loco starter move fixtures to root folder instead of src #1246

anhnmt opened this issue Feb 5, 2025 · 0 comments

Comments

@anhnmt
Copy link
Contributor

anhnmt commented Feb 5, 2025

When building the docker image I encountered the following situation:

--/
----/assets
----/config
----/src/fixtures
----/app-cli

I think it would be better to put fixtures in the root folder instead of src:

--/
----/assets
----/config
----/fixtures
----/app-cli

My current method is to edit the source code, but I should do the same for the starter loco

let path = std::path::Path::new("./fixtures");
db::run_app_seed::<App>(app_context, path).await?;
Ok(())
@anhnmt anhnmt changed the title Loco starter move fixtures to root folder instead src Loco starter move fixtures to root folder instead of src Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant