Liberationbits / lt-driver

An app for the abo delivery to fixed pickup hubs. (German App)
https://rodant.uber.space
GNU Affero General Public License v3.0
0 stars 0 forks source link
commons economy logistics

LT Driver App (LT Fahrer)

An app for the abo delivery to fixed pickup hubs.

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

Deployment

To deploy your app, you may need to install an adapter for your target environment.

We've configured the project for the nodejs adapter. We deploy currently to the hosting provider uberspace. The build and deployment process is partially automated through the scripts:

Steps

Assuming the ssh access to the hosting server is set up and configured in the ssh config under the name uberspace,

  1. execute build-transfer.sh
  2. ssh uberspace, ssh to uberspace
  3. execute deploy-restart.sh in the directory lt-driver and wait till the deamon process is restarted.