Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex99y authored Mar 18, 2020
1 parent c3015e4 commit 12d060f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ Change values to connect to postgreSQL. In order to install postgreSQL, you can
docker-compose up -d
```

**Setup appconfig.json**
```
{ "email": { "admin":"admin_email@gmail.com", "auth": { "user": "admin_email@gmail.com", "pass": "password" }, "service": "Gmail", "emailVerification": 1 }, "database": { "adapter": "sails-postgresql", "user": "admin", "password": "adminpassword", "port": "5432", "host": "localhost", "database": "airmed" }, "session": { "name": "sails.sid", "secret": "secretKey", "redis": { "url": "redis://: redisPassword@127.0.0.1.com:6379/15", "host": "127.0.0.1", "port": 6379, "pass": "redisPassword", "db": 15 } }, "ipfs": { "host":"127.0.0.1", "port":"5001" } }
```

**Edit config/policies.js**

Expand Down Expand Up @@ -128,14 +132,14 @@ Running the application is very simple. You just need to:
ipfs daemon &
```

- Run the sync process
- Run the server
```
./init.sh &
node ./node_modules/sails/bin/sails.js l --redis --safe
```

- Run the server
- Run the sync process
```
node ./node_modules/sails/bin/sails.js l --redis --safe
./init.sh &
```

And now you're ready to go!
Expand Down

0 comments on commit 12d060f

Please sign in to comment.