MapCampaigner | Campaign management tool
kandi X-RAY | MapCampaigner Summary
kandi X-RAY | MapCampaigner Summary
MapCampaigner is a JavaScript library typically used in Financial Services, Banks, Payments applications. MapCampaigner has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
This project is based on the original work done in the osm-reporter. The project was extended to include a campaign management application. The aim of the campaign management is to allow field campaigns to be tracked and their quality measured.
This project is based on the original work done in the osm-reporter. The project was extended to include a campaign management application. The aim of the campaign management is to allow field campaigns to be tracked and their quality measured.
Support
Quality
Security
License
Reuse
Support
MapCampaigner has a low active ecosystem.
It has 35 star(s) with 23 fork(s). There are 16 watchers for this library.
It had no major release in the last 6 months.
There are 81 open issues and 297 have been closed. On average issues are closed in 139 days. There are 67 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of MapCampaigner is current.
Quality
MapCampaigner has 0 bugs and 0 code smells.
Security
MapCampaigner has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
MapCampaigner code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
MapCampaigner is licensed under the BSD-3-Clause License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
MapCampaigner releases are not available. You will need to build from source code and install.
Installation instructions, examples and code snippets are available.
It has 44534 lines of code, 718 functions and 310 files.
It has medium code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of MapCampaigner
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of MapCampaigner
MapCampaigner Key Features
No Key Features are available at this moment for MapCampaigner.
MapCampaigner Examples and Code Snippets
No Code Snippets are available at this moment for MapCampaigner.
Community Discussions
No Community Discussions are available at this moment for MapCampaigner.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install MapCampaigner
Fork this repo into your github account. Clone the repo (from your github account). Create a OpenStreetMap account. Create an AWS account. Create a S3 bucket in whatever region you like. Get your AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY: Go to your AWS account > My Security Credentials > Access keys. Create a file on your machine ~/.aws/credentials. Create a file: flask_project/secret.py. Go to the AWS Console > IAM console > Create a policy. Stay in the IAM console > Create a Role. Download and install Docker. Deploy the lambda functions. Open your browser and visit localhost:5000.
Fork this repo into your github account.
Clone the repo (from your github account).
Create a OpenStreetMap account Sign Up | OpenStreetMap Go to My Settings > oauth settings > Register your application Name: my-mapcampaigner-local Main Application URL: http://localhost:5000 Permissions: read their users preferences Keep the consumer key (OAUTH_CONSUMER_KEY) and secret (OAUTH_SECRET) somewhere, you'll need them later.
Create an AWS account AWS Console - Signup
Create a S3 bucket in whatever region you like Must be a public bucket. Edit CORS configuration: <?xml version="1.0" encoding="UTF-8"?> <CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> <CORSRule> <AllowedOrigin>*</AllowedOrigin> <AllowedMethod>GET</AllowedMethod> <AllowedMethod>HEAD</AllowedMethod> <MaxAgeSeconds>3000</MaxAgeSeconds> <AllowedHeader>Authorization</AllowedHeader> </CORSRule> </CORSConfiguration> In flask_project/app_config.py, in DevelopmentConfig, add your bucket name. Upload folders (in bucket) "surveys", "campaigns" and "thumbnail" at the root of your project. Your S3 structure should look like: campaigns/ surveys/ buildings ... thumbnail/
Get your AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY: Go to your AWS account > My Security Credentials > Access keys
Create a file on your machine ~/.aws/credentials [default] aws_access_key_id=YOUR_AWS_ACCESS_KEY_ID aws_secret_access_key=YOUR_AWS_SECRET_ACCESS_KEY region=YOUR_REGION
Create a virtualenv: $> virtualenv venv $> source venv/bin/activate
Install requirements: $> pip install -r requirements.txt
Create a file: flask_project/secret.py SECRET_KEY = 'YOUR_SECRET_KEY' OAUTH_CONSUMER_KEY = 'YOUR_OAUTH_CONSUMER_KEY' OAUTH_SECRET = 'YOUR_OAUTH_SECRET'
Go to the AWS Console > IAM console > Create a policy { "Version": "2012-10-17", "Statement": [ { "Sid": "Stmt1464440182000", "Effect": "Allow", "Action": [ "logs:CreateLogGroup", "logs:CreateLogStream", "logs:PutLogEvents", "lambda:InvokeAsync", "lambda:InvokeFunction" ], "Resource": [ "arn:aws:logs:*:*:*", "*" ] } ] }
Stay in the IAM console > Create a Role Service that will use this role: Lambda Policies: the one you just created AmazonS3FullAccess AWSLambdaFullAccess AWSLambdaRole Role name: whatever name you like Role description: role to execute MapCampaigner lambda functions Keep the role ARN (arn:aws:iam:::.....)
Edit ./travis/deploy_lambda_functions.py CONFIG = { 'local': { 'env': { 's3_bucket': 'YOUR_BUCKET', 'env': 'local' }, 'role': 'YOUR_ROLE_IN_ARN_FORMAT' }, ...
Download and install Docker
Deploy the lambda functions $> python ./.travis/deploy_lambda_functions.py
Run the server: $> python flask_project/runserver.py
Open your browser and visit localhost:5000
Log in It should open an OpenStreetMap popup If not, then you didn't set up properly OAUTH_CONSUMER_KEY and OAUTH_SECRET
Create a campaign
Fork this repo into your github account.
Clone the repo (from your github account).
Create a OpenStreetMap account Sign Up | OpenStreetMap Go to My Settings > oauth settings > Register your application Name: my-mapcampaigner-local Main Application URL: http://localhost:5000 Permissions: read their users preferences Keep the consumer key (OAUTH_CONSUMER_KEY) and secret (OAUTH_SECRET) somewhere, you'll need them later.
Create an AWS account AWS Console - Signup
Create a S3 bucket in whatever region you like Must be a public bucket. Edit CORS configuration: <?xml version="1.0" encoding="UTF-8"?> <CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> <CORSRule> <AllowedOrigin>*</AllowedOrigin> <AllowedMethod>GET</AllowedMethod> <AllowedMethod>HEAD</AllowedMethod> <MaxAgeSeconds>3000</MaxAgeSeconds> <AllowedHeader>Authorization</AllowedHeader> </CORSRule> </CORSConfiguration> In flask_project/app_config.py, in DevelopmentConfig, add your bucket name. Upload folders (in bucket) "surveys", "campaigns" and "thumbnail" at the root of your project. Your S3 structure should look like: campaigns/ surveys/ buildings ... thumbnail/
Get your AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY: Go to your AWS account > My Security Credentials > Access keys
Create a file on your machine ~/.aws/credentials [default] aws_access_key_id=YOUR_AWS_ACCESS_KEY_ID aws_secret_access_key=YOUR_AWS_SECRET_ACCESS_KEY region=YOUR_REGION
Create a virtualenv: $> virtualenv venv $> source venv/bin/activate
Install requirements: $> pip install -r requirements.txt
Create a file: flask_project/secret.py SECRET_KEY = 'YOUR_SECRET_KEY' OAUTH_CONSUMER_KEY = 'YOUR_OAUTH_CONSUMER_KEY' OAUTH_SECRET = 'YOUR_OAUTH_SECRET'
Go to the AWS Console > IAM console > Create a policy { "Version": "2012-10-17", "Statement": [ { "Sid": "Stmt1464440182000", "Effect": "Allow", "Action": [ "logs:CreateLogGroup", "logs:CreateLogStream", "logs:PutLogEvents", "lambda:InvokeAsync", "lambda:InvokeFunction" ], "Resource": [ "arn:aws:logs:*:*:*", "*" ] } ] }
Stay in the IAM console > Create a Role Service that will use this role: Lambda Policies: the one you just created AmazonS3FullAccess AWSLambdaFullAccess AWSLambdaRole Role name: whatever name you like Role description: role to execute MapCampaigner lambda functions Keep the role ARN (arn:aws:iam:::.....)
Edit ./travis/deploy_lambda_functions.py CONFIG = { 'local': { 'env': { 's3_bucket': 'YOUR_BUCKET', 'env': 'local' }, 'role': 'YOUR_ROLE_IN_ARN_FORMAT' }, ...
Download and install Docker
Deploy the lambda functions $> python ./.travis/deploy_lambda_functions.py
Run the server: $> python flask_project/runserver.py
Open your browser and visit localhost:5000
Log in It should open an OpenStreetMap popup If not, then you didn't set up properly OAUTH_CONSUMER_KEY and OAUTH_SECRET
Create a campaign
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page