<p>Take a look at <a href="http://buildwithcraft.com/docs/multi-environment-configs" rel="nofollow">Multi-Environment Configs</a> and specifically <a href="http://buildwithcraft.com/docs/config-settings#environmentVariables" rel="nofollow">environmentVariables</a>. Then you can <a href="http://buildwithcraft.com/docs/multi-environment-configs#setting-support" rel="nofollow">add your variables to the settings</a> in the Craft CP.</p>

<p>Note: you'll have to figure out Heroku's paths by trial and error or ask their support staff for help.</p>

CC BY-SA 3.0
2015-04-02T16:20:13.613Z
This is what I was afraid of — I dont have any issue with the Multi-Environement configs, its more trying to avoid having to plumb the depths of the heroku file system.
kenyabob
CC BY-SA 3.0
2015-03-31T22:47:45.897Z
2015-03-31T23:12:01.177Z
2015-03-31T23:12:01.177Z
Natetronn
<p>I cant quite wrap my head around the way the way the heroku file system works, so I'd like to use relative paths for my asset File System Paths. Is that even possible?</p>

<p>I've tried to use <code>CRAFT_BASE_PATH</code> in the general settings file to define an environmental variable, but no real luck getting my assets folders to be recognized.</p>

<assets><config>
Using relative paths for assets for heroku deployment
# Using relative paths for assets for heroku deployment

(Asked by: username_0 on 2015-03-30)

I cant quite wrap my head around the way the way the heroku file system works, so I'd like to use relative paths for my asset File System Paths. Is that even possible?

I've tried to use `CRAFT_BASE_PATH` in the general settings file to define an environmental variable, but no real luck getting my assets folders to be recognized.

**Tags:** assets, config

---

## 1 answers

### Answer by username_1 on 2015-03-31. Score: 2

Take a look at [Multi-Environment Configs](http://buildwithcraft.com/docs/multi-environment-configs) and specifically [environmentVariables](http://buildwithcraft.com/docs/config-settings#environmentVariables). Then you can [add your variables to the settings](http://buildwithcraft.com/docs/multi-environment-configs#setting-support) in the Craft CP.

Note: you'll have to figure out Heroku's paths by trial and error or ask their support staff for help.

> **Comments:**
> **username_0**: This is what I was afraid of — I dont have any issue with the Multi-Environement configs, its more trying to avoid having to plumb the depths of the heroku file system.  

---

