Answers.Body: <p>Here's a <a href="https://github.com/nystudio107/craft-multi-environment" rel="nofollow noreferrer">multi environment config</a> guide that I think will accomplish all you need. </p>
  
  <p>It allows for environment specific DB connection parameters, but can also set filepaths, that why you can keep your assets path relative in regards to the path set in the environment. </p>
  
  <p>It's an extension to the multi-environment setup as discussed <a href="https://craftcms.com/docs/multi-environment-configs" rel="nofollow noreferrer">here</a>.</p>
  
  <p>If you have any questions after reading that, feel free to ask. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-20T14:12:37.173Z
Answers.Text: Very cool solution, thanks for pointing it out!
Answers.UserDisplayName: Marco Schuler
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-20T14:04:40.707Z
Answers.LastActivityDate: 2017-07-20T17:03:42.860Z
Answers.LastEditDate: 2017-07-20T17:03:42.860Z
Answers.UserDisplayName: mrsmn
Body: <p>Me and my coworker work on the same Craft project.</p>
  
  <p>We work locally with MAMP but access the database online, which works fine.</p>
  
  <p>For the assets I'd like to define separate localhost basepaths, since we don't have the same folder structure.</p>
  
  <p>Is there a way to make this work or do I need to work with IP's instead of localhost?</p>
  
  <p>I'd also be open to set the assets relative instead of absolute to make this work.</p>
  
Tags: <assets><config><multi-environment>
Title: Multiple localhost config settings
ThreadText: # Multiple localhost config settings
  
  (Asked by: username_0 on 2017-07-20)
  
  Me and my coworker work on the same Craft project.
  
  We work locally with MAMP but access the database online, which works fine.
  
  For the assets I'd like to define separate localhost basepaths, since we don't have the same folder structure.
  
  Is there a way to make this work or do I need to work with IP's instead of localhost?
  
  I'd also be open to set the assets relative instead of absolute to make this work.
  
  **Tags:** assets, config, multi-environment
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-07-20. Score: 3 | Accepted answer
  
  Here's a [multi environment config](https://github.com/nystudio107/craft-multi-environment) guide that I think will accomplish all you need.
  
  It allows for environment specific DB connection parameters, but can also set filepaths, that why you can keep your assets path relative in regards to the path set in the environment.
  
  It's an extension to the multi-environment setup as discussed [here](https://craftcms.com/docs/multi-environment-configs).
  
  If you have any questions after reading that, feel free to ask.
  
  > **Comments:**
  > **username_0**: Very cool solution, thanks for pointing it out!  
  
  ---
  
  