Comments (5)
from liveactionmap.
Also also. Would you have a way to communicate more live? I'd say discord?
from liveactionmap.
As I'm looking at the code. It generates an index.html
I haven't ever really touched python but would it be possible for it instead of generating the file to host the data live? Maybe run a scrape every 5-10 mins and host the file? This would make the app more scalable. Even better would be if the backed was to save the data to a DB and then have a middleware serving the actual map data. But that might be a little over the top...
from liveactionmap.
@DomiiBunn yes, my discord is superboyk#5755
I agree with your suggestion to dockerize, however I have limited experience with docker.
Currently I'm doing the following to host the files. I'm using a simple apache server to host the static html file.
- Create a shell script to a) add environment variable, b) run
scrape.py
to create anindex.html
file, c) moveindex.html
to/var/www/html
- Setup a cron job to call the script every 10 minutes
from liveactionmap.
I'm currently working on containerizing this.
I think it would be best if we can merge #12, so the generated file can be mounted easily
from liveactionmap.
Related Issues (20)
- Cache Nominatim geocoding API HOT 1
- Add time to popup HOT 2
- Add CI/CD and Tests HOT 14
- Persistently store scraped tweets HOT 14
- Move periodic tasks away from cron jobs HOT 4
- Dynamic Fronted HOT 3
- Analitics HOT 2
- Community: Discord server HOT 2
- IP Blocking - Russia? HOT 15
- Backend API HOT 1
- Feature Suggestion: Plane Tracking HOT 7
- Adding collaborators who are able to check pull requests and Issues HOT 1
- Connection error with geolocator HOT 2
- add website domain in repo website HOT 7
- API: Markers HOT 2
- Add a .onion link HOT 5
- API: Zones
- Self-host a Nominatim Service HOT 1
- Remove temporary tweets file after every x minutes. HOT 1
- Trigger GitLab CI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liveactionmap.