Skip to content

An opensource community driven reporting platform.

License

Notifications You must be signed in to change notification settings

six519/disclose.ph

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disclose

An opensource community driven reporting platform based on Drupal.

  • DisclosePH is a centralize repository of events (e.g crimes, weather report, natural disaster, accidents, politics, economy, opinion, etc) contributed by the public.
  • DisclosePH is free of use by public.

What this platform trying to solve?

  • This will allow everyone to participate in bringing the news to the rest of the community.
  • This will serve as a platform to fight crimes.
  • Promotes transparency and bayanihan (support to fellow citizen).
  • It will provide data for statistical purposes.
  • Centralize source of information.

To install Drupal

  • Import the database from assets folder.
  • Copy the default.local.settings.php to local.settings.php and update the $database with the correct credentials.
  • CMS login: admin/admin

Requirements

  • Drush
  • Gulp
  • PHP CodeSniffer
  • Compass

To install Drush via Pear (on Ubuntu):

$ sudo apt-get install php-pear
$ sudo pear channel-discover pear.drush.org
$ sudo pear install drush/drush
$ sudo drush
$ sudo chown -R $USER:$USER ~/.drush

If you're on Ubuntu you can try this Drush installer.

To install Gulp:

$ sudo npm install
$ sudo npm install gulp-cli -g

To compile SASS you need Compass:

$ sudo gem install compass

If you dont have Gem installed you need to install Ruby.

Working with Gulp

Each time you change files under sites/all/themes/disclose/ you need to run the following:

$ gulp build

To compile without JS and CSS compression (local development only) run:

$ gulp dev

which is the same as the following single command:

$ gulp

To compile CSS source only run:

$ gulp styles

And to compile JS source only:

$ gulp scripts

To optimize all available images:

$ gulp images

To make your development easier you can run a task which will watch your changes and automatically recompile the sources:

$ gulp watch

Working with Github

Branching

The current development branch is develop. The release branch is release/version-[number].

Branch Conventions

  • master - For prod releases.
  • develop - For development. All feature branches are fork from develop. (e.g. feature/issue-1)
  • release/version-[number] - For stable releases while the subsequent release is being merged to develop.
  • feature/issue-[number] - Naming convention for feature branchs. The [number] is refer to the Github issue number.
  • hotfix/version-[number]-hotfix-[number] - Naming convention for hotfixes. The version-[number] is the release version while the hotfix-[number] is the number of hotfix attempt.

Commiting

To close a ticket automatically via your commit: Read this documentation

Merging

We use PR to merge the commits. This ensure the quality and consistency of our code. See the doc here. Another doc here.

Creating a New Issue

To file a new issue: Be sure to file your issue under the correct milestone.

Environments

To access our dev and staging environment you need first to have an account on Acquia cloud. Once you have an account create an issue here that you are asking for invitation.

Communication Platform

We are using Slack to communicate. Plase create a ticket on here that you are asking for invitation.

About

An opensource community driven reporting platform.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 82.4%
  • JavaScript 7.0%
  • HTML 4.8%
  • CSS 3.6%
  • SourcePawn 1.1%
  • C++ 0.9%
  • Other 0.2%