slate/README.md

85 lines
2.7 KiB
Markdown
Raw Normal View History

2020-07-29 09:03:23 +03:00
![Slate](https://user-images.githubusercontent.com/310223/88096926-48f21880-cb4c-11ea-803f-1984f4515651.png)
2020-07-21 22:18:58 +03:00
# Slate
2020-07-01 03:31:48 +03:00
2020-07-29 09:03:23 +03:00
### An open source storage system for your files and data that makes it easy to collect, organize, and share them anywhere on the web.
2020-02-19 09:30:47 +03:00
- [Design System](https://slate.host/system)
2020-07-29 08:57:47 +03:00
- [Release Repository](https://github.com/filecoin-project/slate-react-system)
- [Live Application Prototype](https://slate.host/application)
2020-07-23 08:00:38 +03:00
![screenshot](https://user-images.githubusercontent.com/310223/88253285-3a981f80-cc66-11ea-884b-e3b055f6bf46.png)
#### Current prototype (July 22nd, 2020)
Our goal is to create a new kind of storage solution that encourages collaboration and research, while also building it on a completely transparent and open source foundation. Over time, we hope to grow Slate into an elegant experience for:
- Creating mood boards, hosting data, and making connections between topics you are researching
- Replacing S3 with a Developer API and API keys
2020-07-29 09:03:23 +03:00
- Every feature supported by [Filecoin](https://filecoin.io)
- Storing images and sharing them with friends :)
2020-07-29 09:03:23 +03:00
Slate is a client for [Filecoin](https://filecoin.io), Powered by [Textile's](https://textile.io) Powergate and Buckets.
# Get involved.
2020-07-29 09:03:23 +03:00
Slate is built by a growing community of collaborators and contributors. If youre interested in…
- Creating an open source design system
- Building a dynamic component library for open source projects
- Learning how to write front-end code
Wed love for you to join us! Getting involved is simple:
- Find something cool you to work on and [file an issue](https://github.com/filecoin-project/slate/issues)
- If you see something you want to fix or change, **submit a PR**
2020-07-29 09:03:23 +03:00
- Reach out to us any time. We're always available on Twitter to answer your questions: [@\_slate](https://www.twitter.com/_slate)
2020-07-01 03:31:48 +03:00
## Developer Introduction
2020-07-29 09:03:23 +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`.