Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #534 from der-On/patch-1

docs for config/init.js and config/environment.js more prominent
  • Loading branch information...
commit c5bf06777c66195118cf608b2f19efd5a22b08c5 2 parents 03c9171 + 2fce0da
@mde mde authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 docs/guide/architecture.md
View
8 docs/guide/architecture.md
@@ -33,7 +33,7 @@ Geddy is built on the same MVC principles that many popular frameworks are based
#### config
`geddy.config`
-Geddy has built in configuration management. Global config options should go in your 'config/environments.js` file. Likewise, your production and development config options should go in their respective files
+Geddy has built in configuration management. Global config options should go in your **'config/environments.js'** file. Likewise, your production and development config options should go in their respective files
If you want to start up your app in a specific environment, use the `-e` option:
@@ -43,6 +43,12 @@ $ geddy -e production
* * *
+#### bootstrapping
+
+If you need to execute code during the app start-up you can put it in the **'config/init.js'** file.
+
+* * *
+
#### logger
`geddy.log[level]`
Please sign in to comment.
Something went wrong with that request. Please try again.