https://github.com/yudai/simple_blobstore_proxy
A Proxy server for blobstores
https://github.com/yudai/simple_blobstore_proxy
Last synced: 6 months ago
JSON representation
A Proxy server for blobstores
- Host: GitHub
- URL: https://github.com/yudai/simple_blobstore_proxy
- Owner: yudai
- License: apache-2.0
- Created: 2013-03-22T14:32:22.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-04-04T13:21:59.000Z (over 12 years ago)
- Last Synced: 2025-04-12T16:17:28.597Z (6 months ago)
- Language: Ruby
- Size: 147 KB
- Stars: 7
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Simple Blobstore Proxy
======================How to use
----------### Launch the process
```
mkdir -p /var/vmc/bosh/blob
bundle install
bundle exec ./bin/simple_blobstore_server
```You can change the directory for file caching by editing config/simple_blobstore_server.yml.
To keep the process alive after exiting your terminal, try `nohup` command.
```
nohup bundle exec ./bin/simple_blobstore_server &
```### Edit final.yml and private.yml
Edit configuration files in your cf-release directory.
* config/final.yml: Edit `blobstore`
```
blobstore:
provider: simple
options:
endpoint: http://localhost:9999
```* config/private.yml: Add the configuration below
```
---
blobstore:
simple:
user: admin
password: admin
```### Create final release
Execute the following command.
```
bosh create release --final
```Missing blob files will be downloaded from the remote blobstore and newly added files will be posted to your proxy server.
License
-------Apeche License Version 2.0
The original source code is written and distributed by VMware, inc under Apache License Version 2.0.