Skip to content

AamAadmiParty/aapkamanch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AAPKaManch

Version: 0.0.1

License: GNU General Public License v3

Copyright: Contributors

Prototype of a platform to facilitate communication and information sharing among public, members and office bearers of Aam Aadmi Party.

Currently all information is shared via Facebook, Whatsapp, SMS, emails. There is no unified communication platform. If this platform is built, it will lead to information sharing and also enhance engagement of members.

Install

AAP Ka Manch is built on MySQL and frappe framework (Python). To install it locally, you will need to install

Pre-requisites

  1. MySQL
  2. Python-2.7
  3. Python Setuptools (Python Package Manager)
  4. Memcache

Steps

  1. Start MySQL and memcache
  2. Setup Python Virtualenv (optional - only if you are running multiple python projects requiring different versions of libraries)
  3. Install pip: sudo easy_install pip
  4. Create a bench directory
  5. Clone frappe in the bench as frappe: git clone https://github.com/frappe/frappe.git frappe and checkout 4.0.0-wip branch
  6. Install python libraries sudo pip install frappe/requirements.txt
  7. Clone aapkamanch in bench: git clone https://github.com/AamAadmiParty/aapkamanch.git
  8. Install the packages: pip install -e frappe/ and pip install -e aapkamanch/
  9. Create sites directory
  10. Create apps.txt: echo aapkamanch >> sites/apps.txt
  11. Change to sites directory
  12. Setup a site: frappe test.appkamanch.org --install aapkamanch
  13. To test facebook login, add 127.0.0.1 test.aapkamanch.org to /etc/hosts
  14. Start serving: frappe test.aapkamanch.org --serve
  15. Start a browser and go to http://test.aapkamanch.org:8000

Putting it all together:

sudo easy_install pip
mkdir bench
cd bench
git clone https://github.com/frappe/frappe.git frappe
cd frappe
git checkout 4.0.0-wip
cd ..
sudo pip install frappe/requirements.txt
git clone https://github.com/AamAadmiParty/aapkamanch.git
pip install -e frappe/
pip install -e aapkamanch/
mkdir sites
echo aapkamanch >> sites/apps.txt
cd sites
frappe test.appkamanch.org --install aapkamanch
frappe test.aapkamanch.org --serve

Pulling Latest Updates

  1. Update your git repositories
  2. Go to bench/sites directory
  3. Run frappe test.aapkamanch.org --latest
  4. Run frappe test.aapkamanch.org --build
  5. Run frappe test.aapkamanch.org --flush

Admin Login

  1. go to "/login"
  2. Administrator user name: "Administrator"
  3. Administrator passowrd "admin"

Components

  1. Database backend of all messages
  2. Application layer that will map users and their roles.
  3. Web front end
  4. Mobile Apps for information collection and sharing.

Roadmap

  1. Build web prototype
  2. Build mobile applications
  3. Test and deploy live.

Long Term vision

To build an extensible platform that will be the commnication / information backbone for AAP

  1. To build a unified communication platform for AAP
  2. To connect public, members, office bearers
  3. Internal Communication
  4. Resources - banners, leaflets, letter formats (for police permission etc)
  5. Events - future and past and outcomes
  6. Meeting minutes and follow-up
  7. News
  8. Election info - candidates, manifestoes etc

Technology

  1. Backend will by MySQL
  2. Web app will be served by Webnotes framwork
  3. Mobile apps in PhoneGap
  4. Chat to implemented by HTTP polling (first cut)
  5. No push-notifications - they are very annoying specially for high message volumes.

First target is to show proof of concept, once it is polished, the backend will be designed to be more scalable.

Features for version 0.0.1

  1. Zone classification
  2. Chat application for public, members and committee members
  3. Web and mobile applications

About

Proposed Communication / Engagement / Volunteering Platform for Aam Aadmi Party

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages