nanomap/README.md

31 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2023-11-24 21:27:50 +08:00
<p align="center">
2023-11-24 21:25:50 +08:00
<img src="public/icon.jpeg" style="height: 100px; border-radius: 50%"/>
2023-11-24 21:27:50 +08:00
</p>
<h1 align="center">nanoMap</h1>
2023-11-24 16:32:07 +08:00
2023-11-26 23:04:28 +08:00
**nanoMap** is a minimalized port for scheduling route on [OpenStreetMap](https://openstreetmap.org). This application is built with [Create React App](https://create-react-app.dev/) and the basic functionality uses [React Leaflet](https://react-leaflet.js.org) and [Vercel Serverless Functions](https://vercel.com/docs/functions/serverless-functions).
2023-11-24 16:32:07 +08:00
2023-11-24 21:25:50 +08:00
# Deployment
2023-11-24 16:32:07 +08:00
2023-11-24 21:25:50 +08:00
## Vercel
2023-11-24 16:32:07 +08:00
2023-12-30 11:25:44 +08:00
We already deployed two instances for you to use:
2023-11-24 16:32:07 +08:00
2023-12-30 11:25:44 +08:00
- Stable release: https://nanomap.vercel.app (suggested for most users)
- Developer release: https://nanomap-dev.vercel.app
You can also click this button to deploy with your own account: [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Farielherself%2Fnanomap&project-name=nanomap&repository-name=nanomap&demo-title=nanoMap&demo-description=A%20minimalized%20port%20for%20scheduling%20route%20on%20OpenStreetMap&demo-url=https%3A%2F%2Fnanomap.vercel.app)
2023-11-24 16:32:07 +08:00
2023-11-24 21:25:50 +08:00
## On your server
2023-11-24 16:32:07 +08:00
_Please install the latest version of [Node.js](https://nodejs.org), [npmJS](https://www.npmjs.com) and [Vercel CLI](https://vercel.com/docs/cli) first._
2023-11-24 16:32:07 +08:00
2023-11-24 21:36:24 +08:00
Just four line of script:
2023-11-24 16:32:07 +08:00
2023-11-24 21:25:50 +08:00
```shell
2023-11-26 23:04:28 +08:00
git clone "https://github.com/arielherself/nanomap" nanomap &&
2023-11-24 21:36:24 +08:00
cd nanomap &&
2023-11-24 21:25:50 +08:00
npm install &&
vercel dev
2023-11-24 21:27:50 +08:00
```