~thecashewtrader/minv__client

Update README.md formatting
Simplify waiting for navigation in tests

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~thecashewtrader/minv__client
read/write
git@git.sr.ht:~thecashewtrader/minv__client

You can also use your local clone with git send-email.

#Introduction

This is the official client for minv, built with SvelteKit and Flowbite.

#Install Instructions

#Docker + Compose

Navigate to an empty directory

mkdir minv__client
cd minv__client

Download and edit docker-compose.yaml, especially the API_CLIENT_URI and API_SERVER_URI environment variables

wget https://git.sr.ht/~thecashewtrader/minv__client/blob/main/docker-compose.yaml
$EDITOR docker-compose.yaml

Run the container

docker compose up

#Manual

#Build Dependencies

  • node

#Runtime Dependencies

  • node

#Building

Clone the source code

git clone https://git.sr.ht/~thecashewtrader/minv__client
cd minv__client

Install dependencies and build

yarn # (Or `npm i` etc.)
yarn build # (Or `npm run build` etc.)

#Deploying

Copy the package.json file and the build folder. Then, install dependencies, set environment variables, and run:

yarn --prod # (or `npm i --production` etc.)
export API_CLIENT_URI=https://api.example.com
export API_SERVER_URI=https://api.example.com
node build

#Misc

  • You can use the nohup command to easily redirect logs to a file. Also helpful when trying to keep the app alive after exiting an SSH session.