Comments (7)
Could you try setting the environment variable AWSR_DAEMON=True
for the server and AWSR_CLIENT=True
for the clients? I also could not get the auto-detection working and the explicit flags make more sense to me.
from aws-cli-repl.
Still doesn't work...
$ AWSR_DAEMON=True
$ echo $AWSR_DAEMON
True
$ awsr
Forking new awsr background process
from aws-cli-repl.
Any thoughts ... ?
from aws-cli-repl.
have had the same issue, try this
export AWSR_DAEMON=True;./awsr
then run this
export AWSR_CLIENT=True; ../aws-cli-repl/awsr ec2 describe-instances
from aws-cli-repl.
have had the same issue, try this
export AWSR_DAEMON=True;./awsr
then run this
export AWSR_CLIENT=True; ../aws-cli-repl/awsr ec2 describe-instances
Thanks but didn't work. Just hangs. Could you share exactly the steps you used to get this to work? Do you need to insall awscli via pip? Mine is currently installed via manual install from AWS.
from aws-cli-repl.
you have to run the first command in 1 terminal and the second in a new terminal, as the first acts as a server and the second is the client.
Make sure you have the botocore and awscli installed, I think I may have them installed with pip. I also have the awscli installed with brew
from aws-cli-repl.
Thanks!! I got it working now using python venv. It looks like awscli MUST be installed via pip to work. To be clear, this is what I did:
- Create a python venv and activate it
- Install awscli using pip into venv
- Run following command in terminal 1:
export AWSR_DAEMON=True;./awsr --profile XXX
- Run following command in terminal 2 to test:
./awsr ec2 describe-instances
I can see this simple command is already performing 5x faster! .2s compared to 1s.
from aws-cli-repl.
Related Issues (12)
- Oh, so close! HOT 4
- Consider using socket instead of named pipe
- Command 'awsr' not found HOT 2
- Using query fails HOT 1
- Command not executing at all (TypeError: object of type 'NoneType' has no len()) HOT 3
- Add license HOT 1
- Propagate exit code
- Invalid command causes daemon to exit HOT 1
- Support stdin
- Support AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables
- Explicit client and server modes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-cli-repl.