https://github.com/infor-cloud/cloud-store
https://github.com/infor-cloud/cloud-store
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/infor-cloud/cloud-store
- Owner: infor-cloud
- License: apache-2.0
- Created: 2020-09-17T14:23:13.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-26T18:47:28.000Z (over 2 years ago)
- Last Synced: 2024-03-27T15:55:44.154Z (over 2 years ago)
- Language: Java
- Size: 1.22 MB
- Stars: 1
- Watchers: 8
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Building from source
Currently there are two ways to build `cloud-store`:
### Using Nix
- Just run:
$ nix-build -A build
### Manually
- Download all the required dependencies mentioned in `deps.nix` in a directory
- Point the `LB_UNIVERSE_DEPS` environment variable to that directory (it's set to
`/opt/logicblox/lb-universe-deps` by default)
- Build and install:
$ ./configure
$ make install
- The default installation prefix is `/opt/logicblox/cloud-store`, unless `CLOUDSTORE_HOME`
is set. To configure this, use the `--prefix` option. For example:
$ ./configure --prefix=$HOME/cloud-store
## Usage
Generate a key pair:
$ cloud-store keygen -n testkeypair
By default, the key pair is installed under `~/.cloud-store-keys`.
Upload:
$ cloud-store upload s3://bucket/AS400.jpg -i AS400.jpg --key testkeypair
Download:
$ cloud-store download s3://bucket/AS400.jpg -o AS400-2.jpg
Before you can run the `cloud-store` command, you need to set the environment variables
`AWS_ACCESS_KEY_ID` and `AWS_SECRET_KEY` to the corresponding values from your AWS credentials.
## Authors
* Shea Levy
* Martin Bravenboer
* Patrick Lee
* Luke Vanderhart
* Thiago T. Bartolomei
* Rob Vermaas
* George Kollias
* Wes Hunter