hamstr/README.md
2022-12-02 23:05:15 -06:00

1.1 KiB

astral

astral is a web client for interacting with Nostr, a protocol that attempts to make decentralized social media a reality. astral began as a fork of Branle.

Install the dependencies

yarn
# or
npm install

Start the app in development mode (hot-code reloading, error reporting, etc.)

quasar dev
# or if quasar is not installed globally
./node_modules/.bin/quasar dev

Lint the files

yarn lint
# or
npm run lint

Format the files

yarn format
# or
npm run format

Build the app for production in PWA mode:

quasar build -m pwa
# or if quasar is not installed globally
./node_modules/.bin/quasar build -m pwa

Build the app for production in SPA mode:

quasar build
# or if quasar is not installed globally
./node_modules/.bin/quasar build

Docker

Build the docker image (uses PWA mode):

docker build -t astral .

Run the container:

docker run -d -p 8080:8000 --name astral astral

and connect to 'http://localhost:8080/'