Skip to content

Commit 519aed4

Browse files
author
MattDHill
committed
sample configs
1 parent 0b4a5e5 commit 519aed4

File tree

5 files changed

+63
-80
lines changed

5 files changed

+63
-80
lines changed

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ dist/
55

66
borkerconfig.json
77
borkerdb.sql
8-
borker_testdb.sql
8+
borker_testdb.sql
9+
10+
ormconfig.json

README.md

+5-24
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,16 @@ https://github.com/nodesource/distributions/blob/master/README.md
1616
### Install typescript if not installed
1717
```npm install -g typescript```
1818

19-
### Install PostgreSQL if not installed
20-
https://www.postgresql.org/download
21-
22-
### Create the database
23-
```sudo -u postgres psql```
24-
25-
```CREATE USER <user> WITH PASSWORD <password>;```
26-
27-
```CREATE DATABASE borker;```
28-
29-
```\q```
30-
3119
### Clone the repository
3220
```git clone https://github.com/MattDHill/borker-server.git```
3321

3422
### Go into the directory
3523
```cd borker```
3624

37-
### Copy borkerconfig.json from default
38-
```cp borker-config.json borkerconfig.json```
25+
### Copy borkerconfig.json and ormconfig.json from samples
26+
```cp borkerconfig-sample.json borkerconfig.json```
27+
28+
```cp ormconfig-sample.json ormconfig.json```
3929

4030
### Edit borkerconfig.json to contain your own Dogecoin values and starting block preference
4131

@@ -50,14 +40,5 @@ https://www.postgresql.org/download
5040
### Start the server and Bork on
5141
```npm run start```
5242

53-
## * To develop and run tests *
54-
55-
### Create the test database
56-
```sudo -u postgres psql```
57-
58-
```CREATE DATABASE borker_test;```
59-
60-
```\q```
61-
62-
### Run the test suite
43+
## * To run tests *
6344
```npm run test```
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)