
GOMP: Go Meal Planner
Web-based recipe book.
Configuration
The following table summarizes the available configuration settings, which are settable through environment variables.
| ENV |
Value |
Default |
| GOMP_ROOT_URL_PATH |
string |
<empty> |
| PORT |
uint |
4000 |
| GOMP_UPLOAD_DRIVER |
string |
fs |
| GOMP_UPLOAD_PATH |
string |
data |
| GOMP_IS_DEVELOPMENT |
'0', '1' |
0 |
| GOMP_SECRET_KEY |
string |
Secret123 |
| GOMP_APPLICATION_TITLE |
string |
GOMP: Go Meal Planner |
| DATABASE_DRIVER |
string |
postgres |
| DATABASE_URL |
string |
<empty> |
Root URL Path
RootURLPath gets just the path portion of the base application url.
E.g., if the app sits at http://www.example.com/path/to/gomp,
this setting would be "/path/to/gomp".
Valid Values: Any valid url path, excluding domain.
Port
Port gets the port number under which the site is being hosted.
Valid Values: Any valid port number.
Database Support
Currently only PostgreSQL is supported.
Credits
See GoDeps/Godeps.json
License
The MIT License(MIT)