An app for the abo delivery to fixed pickup hubs.
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
To create a production version of your app:
npm run build
You can preview the production build with npm run preview
.
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:
build-transfer.sh
, build, package and transfer the app to server,deploy-restart.sh
, on server terminal unpack app and restart the node server.Assuming the ssh
access to the hosting server is set up and configured in the ssh config under the name uberspace,
build-transfer.sh
ssh uberspace
, ssh to uberspacedeploy-restart.sh
in the directory lt-driver
and wait till the deamon process is restarted.