Skip to content

Commit

Permalink
Integrate with orkid-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
mugli committed Mar 22, 2019
1 parent 1b565a0 commit f39d17c
Show file tree
Hide file tree
Showing 6 changed files with 15,091 additions and 2,780 deletions.
31 changes: 31 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Logs
logs
*.log
npm-debug.log*

# Coverage directory used by tools like istanbul
coverage

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Optional eslint cache
.eslintcache

# Output of 'npm pack'
*.tgz

# DynamoDB Local files
.dynamodb/

# Misc
.DS_Store
*.rdb

# Project specific files
__tests__/
.circleci/
screenshot*
CODE_OF_CONDUCT.md
jest.config.js

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ However, as a workaround, you can create a separate queue, keep its workload min

## Authors

- Mehdi Hasan Khan (Twitter: [@MehdiHK](https://twitter.com/MehdiHK))
- Mehdi Hasan Khan ([@MehdiHK](https://twitter.com/MehdiHK))

## License

Expand Down
15 changes: 15 additions & 0 deletions bin/orkid-ui.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env node

// TODO: Take config args from cli

const prepareIoredis = require('../src/prepare-ioredis.js');
prepareIoredis();
const IORedis = require('ioredis');
const orkidUI = require('orkid-ui');

const redis = new IORedis();
const express = orkidUI(redis);

express.listen(3000, '0.0.0.0', () => {
console.log(`Orkid UI ready at http://localhost:3000`);
});
Empty file removed index.js
Empty file.

0 comments on commit f39d17c

Please sign in to comment.