Git Product home page Git Product logo

disclose.ph's Introduction

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.

disclose.ph's People

Contributors

iamstoick avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.