eGov SmartCity eGovernance suite of products aim to improve the internal efficiency, transparency, accountability and the service delivery of Municipal Governments. The solution is freely available under the license terms as mentioned below.
eGovernments Foundation transforms urban governance with the use of scalable and replicable technology solutions that enable efficient and effective municipal operations, better decision making, and contact-less urban service delivery.
Our comprehensive software products enable Governments to put their resources to efficient use by minimising overheads. We also help bring in transparency, accountability and citizen centricity in the delivery of Government services.
eGovernments Foundation has been in the forefront of implementing eGovernance solutions since 2003. Our products have been serving over 325 ULBs across the country. Our time tested products have impacted the ULBs in a large way. We have also been involved in several eGovernance initiatives in the country.
Our primary business motivator is to increase the footprint of eGovernance across the country and help adoption in as many ULBs as possible. Going opensource with our products is a measure in this direction. It also gives us the ability to tap into the immense talent pool in India for strengthening and improving our cities. Open source also blends well with our ethical fabric of being open and transparent in our business.
Report issues via the eGov Opensource JIRA.
The eGov suit is released under version 3.0 of the GPL.
@2x-rgb_170912_055214.png" width="48">
This section contains steps that are involved in build and deploy the application.
FAQ related to various deployment and development issues are discussed here
$ mkdir -p ${HOME}/egovgithub && cd egovgithub
$ git clone -b develop --single-branch https://github.com/egovernments/egov-smartcity-suite.git
$ cd ${HOME}/egovgithub/egov-smartcity-suite && make all
$ cd ${HOME}/egovgithub/egov-smartcity-suite && make install
$ cd ${HOME}/egovgithub/egov-smartcity-suite && make build
$ cd ${HOME}/egovgithub/egov-smartcity-suite && make deploy
generic
ALTER ROLE <your_login_role> SET search_path TO generic,public;
Elastic seach server properties needs to be configured in elasticsearch.yml
under <ELASTICSEARCH_INSTALL_DIR>/config
## Your local elasticsearch clustername, DO NOT use default clustername
cluster.name: elasticsearch-<username>
## This is the default port
transport.tcp.port: 9300
NB: <username>
user name of the loggedin system, enter the below command in terminal to find the username.
$ id -un
develop
branch.
$ mkdir egovgithub
$ cd egovgithub
$ git clone https://github.com/egovernments/egov-smartcity-suite.git
$ git checkout develop
Change directory to <CLONED_REPO_DIR>/egov/egov-config/src/main/resources/config/
and create a file called egov-erp-<username>.properties
and enter the following values based on your environment config.
##comma separated list of host names
elasticsearch.hosts=localhost
elasticsearch.port=9300
elasticsearch.cluster.name=elasticsearch-<username>
If required, you can override any default settings available in /egov/egov-egi/src/main/resources/config/application-config.properties
by overriding the value in egov-erp-<username>.properties
.
Change directory back to <CLONED_REPO_DIR>/egov
Run the following commands, this will cleans, compiles, tests, migrates database and generates ear artifact along with jars and wars appropriately
mvn clean package -s settings.xml -Ddb.user=<db_username> -Ddb.password=<db_password> -Ddb.driver=org.postgresql.Driver -Ddb.url=<jdbc_url>
By default eGov suit uses embedded redis server (work only in Linux & OSx), to make eGov suit works in Windows OS or if you want to run redis server as standalone then follow the installation steps below.
Installing redis server on Linux
sudo apt-get install redis-server
Installing redis server on Windows :- There is no official installable available for Windows OS. To install redis on Windows OS, follow the instruction given in https://chocolatey.org/packages/redis-64
Once installed, set the below property in egov-erp-override.properties
or egov-erp-<username>.properties
.
## true by default
redis.enable.embedded=false
to control the redis server host and port use the following property values (only required if installed with non default).
## Replace <your_redis_server_host> with your redis host, localhost by default
redis.host.name=<your_redis_server_host>
## Replace <your_redis_server_port> with your redis port, 6379 by default
redis.host.port=<your_redis_server_port>
In case properties needs to be overridden, edit the below file (This is only required if egov-erp-<username>.properties
is not present)
<JBOSS_HOME>/modules/system/layers/base/
org
└── egov
└── settings
└── main
├── config
│ └── egov-erp-override.properties
└── module.xml
standalone.xml
under <JBOSS_HOME>/standalone/configuration
<connection-url>jdbc
//localhost:5432/<YOUR_DB_NAME></connection-url>
<security>
<user-name><YOUR_DB_USER_NAME></user-name>
<password><YOUR_DB_USER_PASSWORD></password
</security>
<socket-binding name="http" port="${jboss.http.port:8080}"></socket-binding>
Change directory back to <CLONED_REPO_DIR>/egov/dev-utils/deployment/
and run the below command
$ chmod +x deploy.sh
$ ./deploy.sh
Alternatively this can be done manually by following the below steps.
<CLONED_REPO_DIR>/egov/egov-ear/target/egov-ear-<VERSION>.ear
in to your JBoss deployment folder <JBOSS_HOME>/standalone/deployments
egov-ear-<VERSION>.ear.dodeploy
to make sure JBoss picks it up for auto deploymentStart the wildfly server by executing the below command
$ cd <JBOSS_HOME>/bin/
$ nohup ./standalone.sh -b 0.0.0.0 &
In Mac OSx, it may also required to specify -Djboss.modules.system.pkgs=org.jboss.byteman
-b 0.0.0.0
only required if application accessed using IP address or domain name.
Monitor the logs and in case of successful deployment, just hit http://localhost:<YOUR_HTTP_PORT>/egi
in your favorite browser.
egovernments
and password demo
This section is to be referred only if you want the application to run using any ip address or domain name.
Always start the wildfly server with the below command to access the application using IP address or domain name.
nohup ./standalone.sh -b 0.0.0.0 &
This section gives more details regarding developing and contributing to eGov suit.
egov
- folder contains all the source code of eGov opensource projects
git clone git@github.com:egovernments/egov-smartcity-suite.git
or git clone https://github.com/egovernments/egov-smartcity-suite.git
Note: Please check in [eGov Tools Repository] for any of the above software installables before downloading from internet.
Windows -> Preference -> Maven -> User Settings -> Browse Global Settings
and point settings.xml available under egov-erp/<CLONED_REPO_DIR>/egov/egov-<javaproject>/src/main/resources/db/migration
<CLONED_REPO_DIR>/egov/egov-<javaproject>/src/main/resources/db/migration/main
<CLONED_REPO_DIR>/egov/egov-<javaproject>/src/main/resources/db/migration/sample
V<timestamp-in-YYYYMMDDHHMMSS-format>__<module-name>_<description>.sql
V20150918161507__egi_initial_data.sql
For more details refer Flyway
Note: This system is supported
OS:-
Browser:-