Comments (3)
Hi @BaptisteCrouzet,
I think this is the right place to ask 😉
Why does she seem strange to you ?
Have you done a complete installation of the project or read the documentation ? I think that after these it will seem less strange to you (well I hope).
In fact, if we rename the "public" folder to "src", we will have a path like this one : ~/my-project/src/src
to access the project source, because this project automatically installs a symfony or reuses your symfony at the root.
This has the advantage of being able to use Flex to configure new services via the recipes system.
Do not hesitate if you still have questions. And I'm available on the Slack in French if needed 😉
Thanks
from symfony-docker.
And if you prefer to store your app on a subdirectory, take a look to https://GitHub.com/api-platform/api-platform. It's almost the same setup, but using a subdirectory (and with API Platform and Next.js preinstalled, but you can remove them if necessary).
from symfony-docker.
Thanks for your responses !
I tried a little more to work with your project, and and I really understood the aim to have my code here and not in a subdirectory when I tried to add a database !
I understood the strenght of Flex recipes when it modified my Dockerfile
🙂.
Maybe I lack of a little more experience and I didn't understand right away when I tried it.
And yes I didn't think when I proposed "src", it was not a good proposal.
API Platform is good example too thank you !
PS: I wanted to keep two different repositories, one for docker and one for my app, but it doesn't seem so bad to me either. There are real advantages to follow your direction.
from symfony-docker.
Related Issues (20)
- invalid interpolation format for services.php.environment.TRUSTED_HOSTS HOT 1
- Too stupid for recipes HOT 4
- Is mecure required for production? HOT 1
- Unable to connect to external database HOT 1
- Could this repo be converted to a symfony recipe? HOT 1
- Unable to boot app in production mode HOT 2
- Large number of entities cause ORM mapping to break HOT 9
- .env.prod.local not picked up on docker compose up HOT 4
- Unable to deploy in production HOT 3
- invalid interpolation format for services.php.environment.TRUSTED_HOSTS HOT 1
- Informations about my github ci file HOT 1
- Serving Symfony Welcome Page with Docker Compose Opens phpinfo() Instead HOT 3
- Cannot install some PHP extention HOT 1
- Docker escape error HOT 1
- container no run
- Mariadb Connexion lost HOT 5
- Symfony hanging every now & then HOT 17
- Unable to start existing project
- Franken crash HOT 7
- Issue when creating the test database HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from symfony-docker.