Code Monkey home page Code Monkey logo

cli's People

Contributors

annieltan avatar bendecoste avatar chrisfriesen avatar e-carlin avatar eric-capeprivacy avatar gavinuhma avatar jlapierre avatar justin1121 avatar kitschysynq avatar kkloberdanz avatar leerosen-cape avatar rahul-ramesh avatar shwetasah-cape avatar yanndupis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cli's Issues

Update readme

With linux and latest version I am getting several errors when doing the go installation


go install github.com/capeprivacy/cli/cmd/cape@latest
go: github.com/capeprivacy/cli/cmd/cape@latest: module github.com/capeprivacy/cli/cmd/cape: git ls-remote -q origin in /home/dragos/go/pkg/mod/cache/vcs/bf0f684bd73eb7eeef0c09315563f9653c097190fe0a264b96f66d6b7b90918f: exit status 128:
	fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.

What we did (with help of Eric) was the following:

go get ./...
go build ./cmd/cape

Deploy bug with path to function dir

Deploying a function from a relative path like cape deploy ../capefunctiontest causes an error on the server once you call cape run.

Enclave console:

ERRO[0021] failed to process zip file                    error="illegal file path: functions/capefunctiontest/app.py"

But deploying the same function from the working directory like cape deploy capefunctiontest and cape run will succeed:

Enclave console:

INFO[0331] Unzipped function to functions/0000214b-a597-42fc-9a2f-d48ea9dc0000

Cannot install cli without go

When running
tar -C /usr/bin -xzf cape_0.0.1_Linux_x86_64.tar.gz

I am getting

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Add sample program to the repository

In the readme it is mentioned how input_data and test_func are used but I cannot see an example of these files. I think it would be useful to have some samples inside the repository.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.