Repository navigation
Local Development Environments #24
lostcarpark
started this conversation in
General
Replies: 5 comments 6 replies
|
I'll take a look at ddev. Sad to say that I don't really have a local development environment. I have been thinking that I will need one real soon now with this project! |
1 reply
|
Edited to move from Q&A to General. Apparently Q&A is for StackExchange style questions that expect to have an answer marked as "correct", rather than more opiniony "what do you use?" questions. |
0 replies
|
I have been considering getting a separate small PC running some flavor of linux - maybe Ubuntu - to be my con development box. |
1 reply
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
What do you use for your local development environment?
I've been using dev.
It's a docker based environment, which means you can specify versions of components, such as PHP, MySQL, etc, for each project, Each project has a configuration file that you can specify versions you want, and it will just fetch them. (There are other Docker development environments. I previously tried Lando, but I've found ddev easier to set up).
To set up, you check out the Git repository and run
ddev config, and it will ask a few questions and set up the environment. Then runddev starteach time you want to start up that project.It creates the database, so you put "db" for all the database params, and you can use
ddev mysql < scriptto build the initial database. You can also useddev logsto view PHP logs.I suspect it does a lot more that I haven't figured out yet, but for setting up containers for projects I find it extremely useful.
All reactions