Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialFrederico Machado da Silva
3,826 PointsHow can i work in more than one project?
I'd like to work in more the one project simultaneus. What i have to do to configurate this?
2 Answers
thomascawthorn
22,986 PointsHey!
You will need to update a couple of different places.
In your etc/hosts file, you'll need to add the names of the site you want to work with and point to 127.0.0.1
#hosts
127.0.0.1 laravel-basics.dev
127.0.0.1 another-project.dev
127.0.0.1 yet-another-project.dev
You can add multiple sites to homestead.yaml
sites:
- map: laravel-basics.dev
to: /home/vagrant/Sites/laravel-basics/public
- map: another-project.dev
to: /home/vagrant/Sites/another-project/public
- map: yet-another-project.dev
to: /home/vagrant/Sites/yet-another-project/public
After you've made your changes in Homestead.yaml, run
vagrant provision
Ann Cascarano
17,191 PointsYou can go to your 'Workspaces' area in the toolbar on the left and choose 'New Workspace'. You can have several going at the same time - say if you're working on a CSS course and a Python course, for example. If you have several open at once (10 I believe) - you'll be asked to delete some.
Adam N
70,280 PointsHe's asking about a project in Laravel, which isn't workspace compatible.
Robert Mylne
13,708 PointsRobert Mylne
13,708 PointsThis just broke everything.
thomascawthorn
22,986 Pointsthomascawthorn
22,986 Pointsnightmare!
I think the best thing to do now would be create a new post in the forum (if you haven't already) and link to it here also.
Give as many details as you can about your problem and explain what you've done / what you had before :-)
Robert Mylne
13,708 PointsRobert Mylne
13,708 PointsOk, so I deleted everything and re-did it as per your instructions and it worked. Not sure what happened but its fine now :)