mirror of
https://github.com/TheGreyDiamond/elevatormapRewritten.git
synced 2025-12-16 15:00:46 +01:00
Compare commits
18 Commits
refactor
...
6bec74b064
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6bec74b064 | ||
|
|
e6218c049c | ||
|
|
17d3617b90 | ||
|
|
8ac66cf71f | ||
|
|
da91e4210c | ||
|
|
e73b02ec22 | ||
|
|
fe5090a382 | ||
|
|
4e576841f8 | ||
|
|
467e635145 | ||
|
|
2e1eec4b7a | ||
|
|
7134466431 | ||
|
|
808fa94a1a | ||
|
|
f2bef7aa43 | ||
|
|
3c0b455341 | ||
|
|
5a87784ceb | ||
|
|
e69e40fec8 | ||
|
|
eadf729190 | ||
|
|
1377ae15ba |
18
README.md
18
README.md
@@ -1,2 +1,20 @@
|
||||
# Elevatormap Rewritten
|
||||
The elevator map at thegreydiamond.de/elevatormap has been offline for some time now, as it was very ineffective and didn't accept user contributions. This is an attempted by the original author to rewrite the project in Node.js.
|
||||
|
||||
## Host your own
|
||||
Requirements:
|
||||
- Node
|
||||
- MySQL Server (MariaDB)
|
||||
- Accounts for Fontawesome & hCaptcha
|
||||
|
||||
Setup steps:
|
||||
1. Setup DB access
|
||||
2. Change config file to your needs
|
||||
3. Install dependencies with `npm install`
|
||||
4. Make .js file with `npm run makeJS` (skip if you want to test it)
|
||||
5. Start it with `npm start` (or use pm2)
|
||||
It will autogenerate all tables needed. And then startup.
|
||||
|
||||
ToDo:
|
||||
- [ ] Allow user edits
|
||||
- [ ] Allow moderation
|
||||
|
||||
724
package-lock.json
generated
724
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -24,9 +24,9 @@
|
||||
"homepage": "https://github.com/TheGreyDiamond/elevatormapRewritten",
|
||||
"dependencies": {
|
||||
"bcrypt": "^5.0.1",
|
||||
"body-parser": "^1.19.0",
|
||||
"eta": "^1.12.3",
|
||||
"express": "^4.17.1",
|
||||
"body-parser": "^1.20.1",
|
||||
"eta": "^2.0.0",
|
||||
"express": "^4.18.2",
|
||||
"express-session": "^1.17.2",
|
||||
"greeting-time": "^1.0.0",
|
||||
"hcaptcha": "0.1.0",
|
||||
|
||||
@@ -85,7 +85,8 @@ L.tileLayer(
|
||||
{
|
||||
attribution:
|
||||
'Map data © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, Imagery © <a href="https://www.mapbox.com/">Mapbox</a>',
|
||||
maxZoom: 3,
|
||||
maxZoom: 100,
|
||||
minZoom: 2,
|
||||
id: "mapbox/streets-v11",
|
||||
tileSize: 512,
|
||||
zoomOffset: -1,
|
||||
|
||||
Reference in New Issue
Block a user