2021-12-19 15:26:35 +00:00
|
|
|
# branle
|
2021-12-10 14:03:45 +00:00
|
|
|
|
|
|
|
a twitter-like nostr client forked off from https://github.com/arcbtc/nostr.
|
|
|
|
|
2022-01-15 21:12:24 +00:00
|
|
|
https://user-images.githubusercontent.com/1653275/149637874-5ae1e400-1de0-42f1-9946-c4cec19347ed.mp4
|
|
|
|
|
2021-12-10 14:03:45 +00:00
|
|
|
## Install the dependencies
|
|
|
|
```bash
|
|
|
|
yarn
|
|
|
|
```
|
|
|
|
|
|
|
|
### Start the app in development mode (hot-code reloading, error reporting, etc.)
|
|
|
|
```bash
|
2022-04-06 19:27:40 +00:00
|
|
|
npx quasar dev
|
2021-12-10 14:03:45 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### Lint the files
|
|
|
|
```bash
|
|
|
|
yarn run lint
|
|
|
|
```
|
|
|
|
|
|
|
|
### Build the app for production
|
|
|
|
```bash
|
2022-04-06 19:27:40 +00:00
|
|
|
npx quasar build
|
2021-12-10 14:03:45 +00:00
|
|
|
```
|
|
|
|
|
2022-01-22 17:03:42 +00:00
|
|
|
## Docker
|
|
|
|
|
|
|
|
### Build the docker image
|
|
|
|
```bash
|
|
|
|
docker build -t branle .
|
|
|
|
```
|
|
|
|
|
|
|
|
### Run the container
|
|
|
|
```bash
|
|
|
|
docker run -d -p 8080:80 --name branle branle
|
|
|
|
```
|
|
|
|
|
2022-01-15 00:55:49 +00:00
|
|
|
### Customize the brand
|
|
|
|
Edit `customize.json` and replace the colors, icon, name and dark mode setting.
|
|
|
|
When setting the dark mode, you can also set the colors `"dark-page"` and `"dark"`.
|