Comments (6)
This is actually already supported but not documented. You just have to pass the url as a string instead of a configuration object to the store property of the respective environment.
from ember-deploy-redis.
Just to confirm, you pass the connection string directly to store? Also, what is the format of the connection string that's accepted? I've tried a few different versions with no success. Thank you!
from ember-deploy-redis.
I tried this: production: {store: 'redis://…'}
and it worked, though it produced this error:
Unhandled rejection Error: ERR invalid DB index
from ember-deploy-redis.
@backspace I believe that error is from how then-redis parses the url. Some redis providers include dummy username (after the //
and before the :
) that you will want to remove or replace with a numeric database index.
from ember-deploy-redis.
Ah, thanks. With just redis://password@host:port
it failed totally, but it worked with redis://0:password@host:port
. I can make a PR to update the README, but I’m new to Redis and don’t understand the implications of specifying a database index like that. When I used a configuration object with its host
, port
, and password
, I didn’t specify an index; was it just choosing 0
by default?
from ember-deploy-redis.
Never mind, I see that it does choose 0 by default.
from ember-deploy-redis.
Related Issues (13)
- 0.0.3 doesn't upload index.html HOT 6
- Unhandled rejection Error: ERR invalid DB index HOT 3
- Setting random revision key blows up current revision HOT 3
- Unable to create an ssh connection through a bastion server HOT 15
- Multiple hosts
- Stash checksum and/or timestamp in Redis HOT 3
- using ssh tunneling with encrypted private key HOT 4
- Notify deployment
- Mention compatibility with the latest ember-cli-deploy in the README HOT 1
- Changing code of the ember app does not change the checksum for the redis key HOT 3
- support ssh-tunneling HOT 2
- improve error messages
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 ember-deploy-redis.