Add missing infos to start working on the project
This commit is contained in:
parent
b67f3d369e
commit
7df6fc7139
10
README.md
10
README.md
@ -36,6 +36,16 @@ To setup the dev env, run server, and auto-reload on file changes
|
||||
docker run -it --rm --link canape_postgresql_dev:postgres postgres:9.5 psql -h postgres -U test
|
||||
```
|
||||
|
||||
## Default users
|
||||
|
||||
This users are defined with this parameters:
|
||||
pepper: "pepper"
|
||||
cost: 10
|
||||
|
||||
Users:
|
||||
* Admin user: admin / admin
|
||||
* Test user: test / test
|
||||
|
||||
## Run the tests
|
||||
|
||||
|
||||
|
@ -6,3 +6,5 @@ authorizer:
|
||||
pgdsn: postgres://test:test@127.0.0.1:5432/dev?sslmode=disable
|
||||
trakttv_client_id: my_trakttv_client_id
|
||||
listen_port: 3000
|
||||
templates_dir: build/templates
|
||||
public_dir: build/public
|
||||
|
@ -1,2 +1,2 @@
|
||||
INSERT INTO users (name, hash, admin) VALUES ('test', '$2a$10$DPsyngE6ccXzzE38.JJv3OIpvU/lSjfMyg9CR68F8h6krKIyVJYrW', false);
|
||||
INSERT INTO users (name, hash, admin) VALUES ('admin', '$2a$10$e3564lLAh.0tIHQu8kfzsunViwd56AvGPeUypuCUcE3Vh09RBZci.', true);
|
||||
INSERT INTO users (name, hash, admin) VALUES ('test', '$2a$10$QHx07iyuxO1RcehgtjMgjOzv03Bx2eeSKvsxkoj9oR2NJ4cklh6ue', false);
|
||||
INSERT INTO users (name, hash, admin) VALUES ('admin', '$2a$10$qAbyDZsHtcnhXhjhQZkD2uKlX72eMHsX8Hi2Cnl1vJUqHQiey2qa6', true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user