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.
AAP Ka Manch is built on MySQL and frappe framework (Python). To install it locally, you will need to install
- MySQL
- Python-2.7
- Python Setuptools (Python Package Manager)
- Memcache
- Start MySQL and memcache
- Setup Python Virtualenv (optional - only if you are running multiple python projects requiring different versions of libraries)
- Install pip:
sudo easy_install pip
- Create a
bench
directory - Clone
frappe
in thebench
asfrappe
:git clone https://github.com/frappe/frappe.git frappe
and checkout4.0.0-wip
branch - Install python libraries
sudo pip install frappe/requirements.txt
- Clone
aapkamanch
inbench
:git clone https://github.com/AamAadmiParty/aapkamanch.git
- Install the packages:
pip install -e frappe/
andpip install -e aapkamanch/
- Create
sites
directory - Create
apps.txt
:echo aapkamanch >> sites/apps.txt
- Change to
sites
directory - Setup a site:
frappe test.appkamanch.org --install aapkamanch
- To test facebook login, add
127.0.0.1 test.aapkamanch.org
to/etc/hosts
- Start serving:
frappe test.aapkamanch.org --serve
- 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
- Update your git repositories
- Go to
bench/sites
directory - Run
frappe test.aapkamanch.org --latest
- Run
frappe test.aapkamanch.org --build
- Run
frappe test.aapkamanch.org --flush
- go to "/login"
- Administrator user name: "Administrator"
- Administrator passowrd "admin"
- Database backend of all messages
- Application layer that will map users and their roles.
- Web front end
- Mobile Apps for information collection and sharing.
- Build web prototype
- Build mobile applications
- Test and deploy live.
To build an extensible platform that will be the commnication / information backbone for AAP
- To build a unified communication platform for AAP
- To connect public, members, office bearers
- Internal Communication
- Resources - banners, leaflets, letter formats (for police permission etc)
- Events - future and past and outcomes
- Meeting minutes and follow-up
- News
- Election info - candidates, manifestoes etc
- Backend will by MySQL
- Web app will be served by Webnotes framwork
- Mobile apps in PhoneGap
- Chat to implemented by HTTP polling (first cut)
- 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.
- Zone classification
- Chat application for public, members and committee members
- Web and mobile applications