Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jwstegemann/amanuensis
amanuensis
https://github.com/jwstegemann/amanuensis
Last synced: about 1 month ago
JSON representation
amanuensis
- Host: GitHub
- URL: https://github.com/jwstegemann/amanuensis
- Owner: jwstegemann
- Created: 2013-11-06T18:48:40.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-04-29T10:28:46.000Z (over 8 years ago)
- Last Synced: 2024-10-18T11:54:37.289Z (3 months ago)
- Language: Scala
- Size: 3.8 MB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Amanuensis
=====Link to color-scheme: http://colorschemedesigner.com/#3.31Tfsibw0w0
Buildpack: heroku config:add BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git
---
#Setup-Process:
---
1. Set Config-Variables:
AUTH_SECRET="..."
AMANUENSIS_AUTH="true" / "false"
AMANUENSIS_SECURE_COOKIE="true" / "false"
AMANUENSIS_USE_FORWARDED_FOR="true" / "false"
GRAPHENEDB_URL="http://user:pwd@localhost:9200"
ELASTICSEARCH_URL="http://user:pwd@localhost:9200"
AWS_S3_KEY="..."
AWS_S3_SECRET="..."
AWS_S3_BUCKET="..."---
2. Init Neo4J-Database by setting up constraints
create constraint on (s:Story) assert s.id is unique
create constraint on (u:User) assert u.login is unique
create constraint on (t:Tag) assert t.name is unique
create index on :Slot(name)
---
3. Create Index and Define Mappings in ElasticSearch
curl/elasticsearch/init
---
4. Create public Group in Neo4J
create (u:User {
login:"public",
pwd:"public",
name:"everybody",
permissions:[]
})---
5. Create a User in Neo4J
curl/admin/create_user.sh
6. Add User to Index
curl -XPOST "http://localhost:9200/users/user/" -d'
{
"login": ""
}'