slate/README.md

81 lines
2.4 KiB
Markdown
Raw Normal View History

2020-07-21 22:18:58 +03:00
![Slate](https://user-images.githubusercontent.com/310223/88096926-48f21880-cb4c-11ea-803f-1984f4515651.png)
2020-07-02 14:04:03 +03:00
# Slate (WIP)
2020-07-01 03:31:48 +03:00
- (WIP) A wonderful experience for creating mood boards, hosting assets, and making connections between topics you are researching
- (WIP) With a Developer API and API Keys, a replacement for Amazon S3.
2020-07-03 19:56:02 +03:00
- (WIP) Aims to have every feature the [Filecoin Network](https://filecoin.io) supports.
- (WIP) Great for storing images and sharing high resolution photos with friends.
2020-07-03 19:58:40 +03:00
- [Design system](https://slate.host/system) -> [Release repository](https://github.com/filecoin-project/slate-react-system).
2020-02-19 09:30:47 +03:00
2020-07-23 08:00:38 +03:00
#### Current prototype (July 22nd, 2020)
![screenshot](https://user-images.githubusercontent.com/310223/88253285-3a981f80-cc66-11ea-884b-e3b055f6bf46.png)
2020-06-17 10:44:20 +03:00
#### Current prototype (June 15th, 2020)
2020-06-17 10:44:20 +03:00
![screenshot](https://user-images.githubusercontent.com/310223/84873452-1c704b80-b038-11ea-8398-4a73c4d9850e.png)
2020-07-01 03:31:48 +03:00
## Developer Introduction
2020-07-23 08:00:38 +03:00
* To work on Slate you must have an internet connection.
* We don't have windows support at the moment.
2020-07-17 09:29:25 +03:00
### .env
2020-07-23 08:00:38 +03:00
- You must create a `.env` file if you want to work on the service.
- You don't need one if you work on the system.
2020-07-17 09:29:25 +03:00
```
POSTGRES_ADMIN_PASSWORD=XXX
POSTGRES_ADMIN_USERNAME=XXX
POSTGRES_HOSTNAME=XXX
POSTGRES_DATABASE=XXX
2020-07-17 13:32:10 +03:00
JWT_SECRET=XXX
LOCAL_PASSWORD_SECRET=XXX
2020-07-20 05:27:31 +03:00
TEXTILE_HUB_KEY=XXX
TEXTILE_HUB_SECRET=XXX
2020-07-17 09:29:25 +03:00
```
2020-06-17 10:44:20 +03:00
2020-07-02 14:04:03 +03:00
### Install and run
```sh
git clone git@github.com:filecoin-project/slate.git
cd slate
npm install
# Run using existing .data folder
npm run dev
```
![screenshot](https://user-images.githubusercontent.com/310223/84878302-7d028700-b03e-11ea-82c4-c53dca9d7e65.png)
2020-07-23 08:00:38 +03:00
- Visit `localhost:1337` in a browser.
2020-07-17 13:32:10 +03:00
### BROKEN: Run electron (MacOS)
2020-07-23 08:00:38 +03:00
@jimmylee broke the current version of the client.
2020-07-10 19:38:40 +03:00
```sh
2020-07-11 00:04:31 +03:00
rm -rf .next
2020-07-10 19:48:37 +03:00
npm run build-electron
2020-07-11 00:04:31 +03:00
npm run electron-pack
2020-07-10 19:38:40 +03:00
```
2020-07-23 08:00:38 +03:00
Open **Slate.app** in `dist/mac/slate.app`.
2020-07-10 19:38:40 +03:00
2020-07-04 03:32:26 +03:00
# Get involved.
2020-06-17 10:44:20 +03:00
Do you want to...
2020-07-23 08:00:38 +03:00
- Help us build a design system for everyone to use?
- Help us build examples?
- Get mentorship and help with learning how to do front-end code?
2020-06-17 10:44:20 +03:00
Then...
- If you see things you want to work on, [file an issue](https://github.com/filecoin-project/slate/issues)!
2020-06-17 10:44:20 +03:00
- If you see something you want to fix, **submit a PR**!
- I'm always available on Twitter to answer your questions: [@wwwjim](https://www.twitter.com/wwwjim).
2020-06-30 04:18:24 +03:00
- For any build questions feel free to reach out to Colin: <cs.mccaleb@gmail.com>