Skip to content
Permalink
Browse files

Added the basic structure and fixed some issues!

Added the basic structure and fixed some issues!
Fixes #2, fixes # 3
  • Loading branch information...
filipnyquist committed Aug 16, 2017
1 parent 4427226 commit 1bcc272e0b9e9aa2fadd37d94a9d725f693405d4
@@ -0,0 +1,4 @@
{
"presets": ["env"],
"plugins": ["transform-async-to-generator","syntax-async-functions","add-module-exports"]
}
@@ -0,0 +1,16 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# http://editorconfig.org

root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
@@ -0,0 +1,42 @@
{
"env": {
"browser": false,
"mocha": false,
"es6": true,
"node": true
},
"parser": "babel-eslint",
"extends": "standard",
"globals": {
"GENTLY": true
},
"rules": {
"no-multi-spaces": 0,
"new-cap": 0,
"prefer-promise-reject-errors":0,
"comma-dangle": [
"error",
"always-multiline"
],
"semi": [
"error",
"always",
{ "omitLastInOneLineBlock": true }
],
"key-spacing": [
"error",
{
"multiLine": {
"beforeColon": false,
"afterColon": true
},
"align": {
"beforeColon": false,
"afterColon": true,
"on": "colon",
"mode": "strict"
}
}
]
}
}
@@ -1,59 +1,4 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

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

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

node_modules
.DS_Store
/dist
npm-debug.log
21 LICENSE

This file was deleted.

Oops, something went wrong.
@@ -10,7 +10,31 @@
>3. Lighthouse API server, which serves the API and does all calculations about what to send to the end user.
## DEVELOPMENT NOTES:
> Stuff needed to be worked on(in order):
>1. Importer needs to add the block that the claim was made in as depth wont work in a a plain-non-updating-all-claims database.
>2. Lighthouse API server needs to be rebuilt in node.js with Koa.JS, this api server will query the elasticsearch autosuggest api, this will need some score balance between searching names,titles and description and some logic to only send the standing claims to the clients.(Bill can help with this part as this will take the longest)
>3. Ansible configuration and documentation
> Stuff needed to be worked on are located in issues or in the project board.

## Running
Install dependencies
```
yarn install --production=false
```

Start a Local Server
```
npm start
```

Run Test
```
npm test
```

Building and Running Production Server
```
npm run prod
```

**Note : Please make sure your elasticsearch server is running before using ```npm start``` or ```npm run prod```**

## License
MIT © [LBRYio, Filip Nyquist, Bill Bittner](https://github.com/lbryio)

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 1bcc272

Please sign in to comment.
You can’t perform that action at this time.