hack4impact-upenn / Maps4all
Licence: mit
Generalized application for displaying location-based resources on a map
Stars: ✭ 36
Programming Languages
javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language
Projects that are alternatives of or similar to Maps4all
Flask Googlemaps
Easy way to add GoogleMaps to Flask applications. maintainer: @RiverFount
Stars: ✭ 550 (+1427.78%)
Mutual labels: flask, maps
Covid 19 Nlp Vis
使用 flask + pyecharts 搭建的新冠肺炎疫情数据可视化交互分析网站平台,包含疫情数据获取、每日疫情地图、曲线图展示,数据统计分析、态势感知、确诊人数预测分析算法设计、NLP舆情监测等任务(数据更新到 6.19 )
Stars: ✭ 96 (+166.67%)
Mutual labels: flask, maps
Pymap webapp
A webapp version for Raster Map Download Helper
Stars: ✭ 34 (-5.56%)
Mutual labels: flask
Ecache
👏👏 Integrate cache(redis) [flask etc.] with SQLAlchemy.
Stars: ✭ 28 (-22.22%)
Mutual labels: flask
Icingaweb2 Module Nagvis
NagVis integration into Icinga web 2
Stars: ✭ 32 (-11.11%)
Mutual labels: maps
Flask Boto3
Flask extension that ties boto3 connectors to the application context
Stars: ✭ 27 (-25%)
Mutual labels: flask
React Svg Maps Tutorial
A basic example of a pure react SVG world map created with react, d3-geo and topojson-client.
Stars: ✭ 33 (-8.33%)
Mutual labels: maps
Zayzafoun
A simple web blog script written in Python & Flask
Stars: ✭ 30 (-16.67%)
Mutual labels: flask
Tensorflowjsclientsideprediction
An example of a client side prediction made with TensorFlowJS
Stars: ✭ 34 (-5.56%)
Mutual labels: flask
Flask Httpauth
Simple extension that provides Basic, Digest and Token HTTP authentication for Flask routes
Stars: ✭ 951 (+2541.67%)
Mutual labels: flask
P2p
一个基于 python 的 flask 框架的资讯网站, http://119.29.100.53:8086/
Stars: ✭ 28 (-22.22%)
Mutual labels: flask
Thematic Cartography
A short, friendly guide to basic principles of thematic mapping
Stars: ✭ 32 (-11.11%)
Mutual labels: maps
Flask Json
Flask-JSON is a Flask extension providing better JSON support.
Stars: ✭ 34 (-5.56%)
Mutual labels: flask
Reactivemaps
A data aware UI components library for building realtime maps
Stars: ✭ 944 (+2522.22%)
Mutual labels: maps
Cancer Donation Portal Python Flask App
Flask App for Cancer Donation Portal using basic Python, SQLite3, HTML, CSS and Javascript
Stars: ✭ 32 (-11.11%)
Mutual labels: flask
Multitube
Watch multiple YouTube videos by providing video links or playlist links or channel links or maybe a mix of them! All without opening a single extra tab.
Stars: ✭ 36 (+0%)
Mutual labels: flask
Maps4All
Team Members
- Annie Meng
- Arman Tokanov
- Ben Sandler
- Brandon Obas
- Daniel Zhang
- Elizabeth Hamp
- Hana Pearlman
- Katie Jiang
- Kyle Rosenbluth
- Natasha Narang
- Rani Iyer
- Sanjay Subramanian
- Stephanie Shi
- Veronica Wharton
Synopsis
A generalized Flask application for displaying location-based resources on a map.
Setting up
Clone the repo
$ git clone https://github.com/hack4impact/maps4all.git
$ cd maps4all
Initialize a virtualenv
$ pip install virtualenv
$ virtualenv -p python3 venv
$ source venv/bin/activate
(If you're on a mac) Make sure xcode tools are installed
$ xcode-select --install
Install the dependencies
$ pip install -r requirements.txt
Other dependencies for running locally
You need to install Foreman and Redis. Chances are, these commands will work:
$ gem install foreman
For Mac (using homebrew):
$ brew install redis
For Linux (Fedora)
$ sudo dnf install redis
For Linux (Debian/Ubuntu):
$ sudo apt-get install redis-server
If you don't want to install redis locally, you can use Redis container with docker
$ docker pull redis:latest
$ docker run -d -p 6379:6379 --name maps4all-redis redis:latest
Set your environment variables
Create a .env
file in your directory and include the following variables:
-
ADMIN_EMAIL
andADMIN_PASSWORD
allow you to login as an administrator to Maps4All on your local machine. -
FILEPICKER_API_KEY
is an API key which you can obtain here. -
MAIL_PASSWORD
andMAIL_USERNAME
are your login credentials for Sendgrid. -
GOOGLE_API_KEY
,GOOGLE_API_1
, andGOOGLE_API_2
are API keys for Google maps. They can be obtained here. -
TWILIO_ACCOUNT_SID
andTWILIO_AUTH_TOKEN
allow you to use the Twilio API to send text messages. They can be obtained through the Twilio console.
Your .env
file should look something like this:
[email protected]
ADMIN_PASSWORD=password123
FILEPICKER_API_KEY=XXXXXXXXXXXXXXXX
MAIL_USERNAME=janedoe
MAIL_PASSWORD=password123
GOOGLE_API_KEY=XXXXXXXXXXXXXXXX
GOOGLE_API_1=XXXXXXXXXXXXXXXX
GOOGLE_API_2=XXXXXXXXXXXXXXXX
TWILIO_ACCOUNT_SID=XXXXXXXXXXXXXXXX
TWILIO_AUTH_TOKEN=XXXXXXXXXXXXXXXX
Create the database
$ python manage.py recreate_db
Other setup (e.g. creating roles in database)
$ python manage.py setup_dev
[Optional] Add fake data to the database
$ python manage.py add_fake_data
Running the app
$ source venv/bin/activate
$ honcho start -f Local
Then navigate to http://localhost:5000
on your preferred browser to open the web app.
Project Structure
├── Procfile
├── README.md
├── app
│ ├── __init__.py
│ ├── account
│ │ ├── __init__.py
│ │ ├── forms.py
│ │ └── views.py
│ ├── admin
│ │ ├── __init__.py
│ │ ├── forms.py
│ │ └── views.py
│ ├── assets
│ │ ├── scripts
│ │ │ ├── app.js
│ │ │ └── vendor
│ │ │ ├── jquery.min.js
│ │ │ ├── semantic.min.js
│ │ │ └── tablesort.min.js
│ │ └── styles
│ │ ├── app.scss
│ │ └── vendor
│ │ └── semantic.min.css
│ ├── assets.py
│ ├── decorators.py
│ ├── email.py
│ ├── main
│ │ ├── __init__.py
│ │ ├── errors.py
│ │ ├── forms.py
│ │ └── views.py
│ ├── models.py
│ ├── static
│ │ ├── fonts
│ │ │ └── vendor
│ │ ├── images
│ │ └── styles
│ │ └── app.css
│ ├── templates
│ │ ├── account
│ │ │ ├── email
│ │ │ ├── login.html
│ │ │ ├── manage.html
│ │ │ ├── register.html
│ │ │ ├── reset_password.html
│ │ │ └── unconfirmed.html
│ │ ├── admin
│ │ │ ├── index.html
│ │ │ ├── manage_user.html
│ │ │ ├── new_user.html
│ │ │ └── registered_users.html
│ │ ├── errors
│ │ ├── layouts
│ │ │ └── base.html
│ │ ├── macros
│ │ │ ├── form_macros.html
│ │ │ └── nav_macros.html
│ │ ├── main
│ │ │ └── index.html
│ │ └── partials
│ │ ├── _flashes.html
│ │ └── _head.html
│ └── utils.py
├── config.py
├── manage.py
├── requirements
│ ├── common.txt
│ └── dev.txt
└── tests
├── test_basics.py
└── test_user_model.py
License
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].