Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Dummy image service is not registered automatically #79

Closed
dz902 opened this issue Mar 2, 2017 · 4 comments
Closed

Dummy image service is not registered automatically #79

dz902 opened this issue Mar 2, 2017 · 4 comments

Comments

@dz902
Copy link

dz902 commented Mar 2, 2017

In the README it says a dummy image service will be registered, but it was not. After installing dyson-image, it was still not registered, and I could not find how to register this service.

Please advise. Thanks!

@webpro
Copy link
Owner

webpro commented Mar 2, 2017

Please refer to https://github.com/webpro/dyson/blob/master/dummy/get/image.js for an example.

@webpro
Copy link
Owner

webpro commented Mar 2, 2017

See https://github.com/webpro/dyson-image for more details.

@webpro
Copy link
Owner

webpro commented Mar 2, 2017

You can also install https://github.com/webpro/dyson-generators to do this:

var g = require('dyson-generators');
module.exports = {
  path: '/foo',
  template: {
    img: g.image.base64({width:200, height: 200});
  }
};

And then there's https://github.com/webpro/dyson-demo.

@dz902
Copy link
Author

dz902 commented Mar 6, 2017

Thanks, just found out the first link.

@webpro webpro closed this as completed Mar 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants