mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
changed to staging cache.
This commit is contained in:
11
README.md
11
README.md
@@ -20,19 +20,10 @@ This is just a simple prototype. To get to production would need:
|
||||
- Ability to start new workers based on some auto scaling scheme.
|
||||
- Authentication (same as always).
|
||||
|
||||
## Testing
|
||||
|
||||
- go build router.go
|
||||
- sudo ./router.go
|
||||
- ruby register_host.rb
|
||||
- not a good way to really test beyond that locally
|
||||
|
||||
## Testing for reals
|
||||
|
||||
- start router.go on remote server (there's a test project on SD already: http://www.simpledeployer.com/projects/ea129e74-52fa-11e2-a91a-12313d008ea2/servers)
|
||||
- go build ./src/router; sudo ./router
|
||||
- iron_worker upload sinatra
|
||||
- ruby register_host.rb
|
||||
- iron_worker upload -e staging --project-id 51034bc3c2e603384b00a092 --host routertest.iron.io sinatra
|
||||
- visit http://routertest.iron.io (or ruby client.rb)
|
||||
- BOOM!
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
{
|
||||
"iron": {
|
||||
"token": "MWx0VfngzsCu0W8NAYw7S2lNrgo",
|
||||
"project_id": "4fd2729368a0197d1102056b",
|
||||
"host": "staging-cache.iron.io",
|
||||
"project_id": "4fd29900b51c1e5a230001d6",
|
||||
"token": "FrGjgoBDbzwHG9IS-qhT1CmJBLo",
|
||||
"super_token": "QpJzvVokpKwi9vjQfSU9ZTWUGhU"
|
||||
},
|
||||
"logging": {
|
||||
|
||||
@@ -34,6 +34,7 @@ var config struct {
|
||||
Token string `json:"token"`
|
||||
ProjectId string `json:"project_id"`
|
||||
SuperToken string `json:"super_token"`
|
||||
Host string `json:"host"`
|
||||
} `json:"iron"`
|
||||
MongoAuth common.MongoConfig `json:"mongo_auth"`
|
||||
Logging struct {
|
||||
|
||||
Reference in New Issue
Block a user