planetary-social / rooms-frontend

MIT License
4 stars 2 forks source link

planetary-rooms-frontend

The rooms frontend app is a vue app meant to be run with go-ssb-rooms and planetary-graphql. The three apps together let users find connections, build community, present their scuttlebutt (planetary) profile to the web, and accept inbound connections.

Here are some screenshots of the app in development: Fgc9NvkVQAAFIyD Fgc9NvdVQAE7Xpn Fgc9NvgUAAAKu29

Development

Compile and Hot-Reload for Development

npm install
npm run dev

Lint with ESLint

npm run lint

Deployment

Production

npm run build:production

Building a Docker image

Another option for prepping for production is to build a new docker image, then push this to your docker repository. There is a minimal Dockerfile in this repo to help. At the moment, the flow is to build the app first, and then run the docker build to create an image with your static compiled files served up from an nginx container.

Staging

npm run build:staging

Known issues:


(from default README)

Recommended IDE Setup

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Customize configuration

See Vite Configuration Reference.