mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-30 02:12:38 +03:00
readme: updates to support multiple servers
This commit is contained in:
parent
c616621b58
commit
a8fa6a5a62
26
README.md
26
README.md
@ -66,17 +66,28 @@ POSTGRES_ADMIN_PASSWORD=XXX
|
|||||||
POSTGRES_ADMIN_USERNAME=XXX
|
POSTGRES_ADMIN_USERNAME=XXX
|
||||||
POSTGRES_HOSTNAME=XXX
|
POSTGRES_HOSTNAME=XXX
|
||||||
POSTGRES_DATABASE=XXX
|
POSTGRES_DATABASE=XXX
|
||||||
JWT_SECRET=XXX
|
|
||||||
LOCAL_PASSWORD_SECRET=XXX
|
LOCAL_PASSWORD_SECRET=XXX
|
||||||
LOCAL_PASSWORD_ROUNDS_MANUAL=5
|
LOCAL_PASSWORD_ROUNDS_MANUAL=5
|
||||||
LOCAL_PASSWORD_ROUNDS=14
|
LOCAL_PASSWORD_ROUNDS=14
|
||||||
TEXTILE_HUB_KEY=XXX
|
TEXTILE_HUB_KEY=XXX
|
||||||
TEXTILE_HUB_SECRET=XXX
|
TEXTILE_HUB_SECRET=XXX
|
||||||
RESOURCE_URI_UPLOAD=http://localhost:8888
|
JWT_SECRET=XXX
|
||||||
RESOURCE_URI_STORAGE_UPLOAD=http://localhost:8888
|
PUBSUB_SECRET=pKLO4lbzdMrhAFKwPo9bnmq03bxQrtu3
|
||||||
RESOURCE_URI_PUBSUB=http://localhost:5555
|
RESOURCE_URI_UPLOAD=http://localhost:4242
|
||||||
|
RESOURCE_URI_STORAGE_UPLOAD=http://localhost:4242
|
||||||
|
RESOURCE_URI_PUBSUB=ws://localhost:6464
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Setup pubsub server
|
||||||
|
|
||||||
|
- In another terminal window, clone https://github.com/slate-engineering/fiji
|
||||||
|
- You can use the same secrets
|
||||||
|
|
||||||
|
### Setup file upload server
|
||||||
|
|
||||||
|
- In another terminal window, clone https://github.com/slate-engineering/shovel
|
||||||
|
- You can use the same secrets
|
||||||
|
|
||||||
### Install and run
|
### Install and run
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@ -88,13 +99,12 @@ npm install
|
|||||||
npm run dev
|
npm run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
![screenshot](https://user-images.githubusercontent.com/310223/84878302-7d028700-b03e-11ea-82c4-c53dca9d7e65.png)
|
|
||||||
|
|
||||||
- Visit `localhost:1337` in a browser.
|
- Visit `localhost:1337` in a browser.
|
||||||
|
- You should have 3 terminal screens open unless you don't want real time updates and file upload support.
|
||||||
|
|
||||||
### Design System
|
## Design System
|
||||||
|
|
||||||
Our design system is outdated but we will be updating it again soon.
|
Our design system is out of date and could use an update.
|
||||||
|
|
||||||
- [Use our components](https://slate.host/_/system)
|
- [Use our components](https://slate.host/_/system)
|
||||||
- [Design System Release Repository](https://github.com/filecoin-project/slate-react-system)
|
- [Design System Release Repository](https://github.com/filecoin-project/slate-react-system)
|
||||||
|
Loading…
Reference in New Issue
Block a user