nanomap/README.md

28 lines
1.3 KiB
Markdown
Raw 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-11-24 21:25:50 +08:00
An instance is deployed at https://nanomap.vercel.app<nothing>. You can also click the button below to deploy with your own account.
2023-11-24 16:32:07 +08:00
2023-11-26 23:04:28 +08:00
[![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
```