Added env detection to README and INSTALL. Closes #19.

This commit is contained in:
James Brooks
2014-11-24 17:45:46 +00:00
parent d9b71ff792
commit d214755e6a
2 changed files with 7 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ You need at least PHP, [Composer](https://getcomposer.org/) and the `php-mcrypt`
3. [Configuring a database!](#configuring-a-database)
1. [Running database migrations](#running-database-migrations)
4. [Apache setup](#apache)
5. [Environment detection](#environment-detection)
## Get a copy!
@@ -158,3 +159,7 @@ Next we add a lookup on our `HOSTS` file (if we're not serving Cachet externally
```
Restart Apache and you're done!
## Environment Detection
If you're deploying into production you'll want to create an environmental variable as `ENV=production`. In the instance where the variable isn't defined, Cachet will think that it's `local`.

View File

@@ -14,6 +14,8 @@ See the [INSTALL.md](/INSTALL.md) document for more information. If you'd like t
[Deploying to Heroku](/INSTALL.md#deploy-to-heroku) requires one-click to get started and no knowledge of PHP or Laravel afterwards.
If you're deploying into production you'll want to create an environmental variable as `ENV=production`. In the instance where the variable isn't defined, Cachet will think that it's `local`.
# Looking to contribute?
Are you looking to help out and contribute towards Cachet, awesome! There is a lot to do before the [first milestone](https://github.com/jbrooksuk/Cachet/milestones/First%20Release) is reached, including: