<commit_before>
== News Management System

This is a simple web application for managing news archive locally or manage and keep your online news before going online. Developed with ruby on rails and mongodb.

This web application is perfect for any printed mass media company(newspaper, magazines, etc) and any news websites company. which requires their journalists to work dynamicly. This application will enable them to manage and update their works anytime, anywhere via internet browser or smartphone devices(iPhone, iPad, android devices, blackberry devices, windows phones).

This web application is released under The MIT license.


== Current Features

1. Currently available in Bahasa Indonesia only.
2. Users with manageable assigned roles(still in development).
2. Manage news publishing with editor approval.
3. Currently only allow 1 photo per news (and 1 auto-generated thumbnail version of the original photo).
4. News Dashboard, News archive statistics based on category, yearly, monthly, and daily statistics, recent news, recent published news.
5. Statistics on charts (to feast your eyes with some beautiful chart from MorrisJs).
4. Web browser friendly (untested on Internet Explorer 6) :p.
5. Responsive design, smartphone friendly (iPhone, iPad, all android devices, all blackberry devices, latest Windows phones).


== Technology stacks

1. Ruby V.1.9.3p327 (2012-11-10 revision 37606). 
1. Ruby On Rails V.3.2.9. An open-source web framework that doesn't hurt and keeps you happy. http://rubyonrails.org
2. Mongodb-10gen V.2.2.3. A scalable, high-performance, open source NoSQL database. http://www.mongodb.org.
3. Mongoid ORM(Object Relational Mapping). http://www.mongoid.org.
4. Twitter bootstrap V.2.2.1(twitter-bootstrap-rails). Web front-end framework from twitter. http://twitter.github.com/bootstrap/.
5. Devise. Authentication library for rails.
6. MorrisJs. Some eye candy charts. http://www.oesmith.co.uk/morris.js/
7. RaphaelJs. Javascript library for simplifying vector graphics on the web. http://raphaeljs.com.


== How to install 

Note: I highly recommend that you use Mac OS or linux(preferably ubuntu) platform for development and production server.
      My development server is ubuntu.

1. Install Ruby via rbenv. Follow instructions here https://github.com/sstephenson/rbenv/#installation
2. Install Ruby On Rails. See installing Ruby on rails instructions below.
3. Install Mongodb-10gen. Follow installation instructions on various platform here http://docs.mongodb.org/manual/installation/
   Use homebrew on mac, on terminal console, run : homebrew install mongodb 
4. Go to your local web server(Apache, Nginx) development directory.
5. Install Git(if you don't have it on your system). 
   Install instructions. https://help.github.com/articles/set-up-git and http://git-scm.com/downloads.
5. run this on that directory:
   <tt>git clone git://github.com/riandrea/nms.git</tt> 
6. change to the directory, on your terminal console, run:
   <tt>cd nms</tt>
7. run bundle install to install and setup everything on the Gemfile:
   <tt>bundle install</tt> or <tt>sudo bundle install</tt> if needed(usually on linux environment).
8. run this command to start the application on development server:
   <tt>rails s</tt>
   press ctrl+c to stop the server.
   <tt>rails c</tt> to open the ruby on rails console 
9. Open http://localhost:3000 on your browser. enjoy!
10. There is a posibility of an un-used controller(s) still exist. feel free to remove them.




== Attention!!
* See The LICENSE : link:files/LICENSE.md.

* Feel free to use, distribute, and please Fork to contribute. I'm always open to suggestions.

* Probably thousands of high quality coffee beans have died and dozens of beer cans have been recycled in the creation of this application.


<commit_msg>Edit readme<commit_after>
== News Management System

This is a simple web application for managing news archive locally or manage and keep your online news before going online. Developed with ruby on rails and mongodb.

This web application is perfect for any printed mass media company(newspaper, magazines, etc) and any news websites company. which requires their journalists to work dynamicly. This application will enable them to manage and update their works anytime, anywhere via internet browser or smartphone devices(iPhone, iPad, android devices, blackberry devices, windows phones).

This web application is released under The MIT license.


== Current Features

1. Currently available in Bahasa Indonesia only.
2. Users with manageable assigned roles(still in development).
2. Manage news publishing with editor approval.
3. Currently only allow 1 photo per news (and 1 auto-generated thumbnail version of the original photo).
4. News Dashboard, News archive statistics based on category, yearly, monthly, and daily statistics, recent news, recent published news.
5. Statistics on charts (to feast your eyes with some beautiful chart from MorrisJs).
4. Web browser friendly (untested on Internet Explorer 6) :p.
5. Responsive design, smartphone friendly (iPhone, iPad, all android devices, all blackberry devices, latest Windows phones).


== Technology stacks

1. Ruby V.1.9.3p327 (2012-11-10 revision 37606). 
1. Ruby On Rails V.3.2.9. An open-source web framework that doesn't hurt and keeps you happy. http://rubyonrails.org
2. Mongodb-10gen V.2.2.3. A scalable, high-performance, open source NoSQL database. http://www.mongodb.org.
3. Mongoid ORM(Object Relational Mapping). http://www.mongoid.org.
4. Twitter bootstrap V.2.2.1(twitter-bootstrap-rails). Web front-end framework from twitter. http://twitter.github.com/bootstrap/.
5. Devise. Authentication library for rails.
6. MorrisJs. Some eye candy charts. http://www.oesmith.co.uk/morris.js/
7. RaphaelJs. Javascript library for simplifying vector graphics on the web. http://raphaeljs.com.


== How to install 

Note: I highly recommend that you use Mac OS or linux(preferably ubuntu) platform for development and production server.
      My development server is ubuntu.

1. Install Ruby via rbenv. Follow instructions here https://github.com/sstephenson/rbenv/#installation
2. Install Ruby On Rails. See installing Ruby on rails instructions below.
3. Install Mongodb-10gen. Follow installation instructions on various platform here http://docs.mongodb.org/manual/installation/
   Use homebrew on mac, on terminal console, run : homebrew install mongodb 
4. Go to your local web server(Apache, Nginx) development directory.
5. Install Git(if you don't have it on your system). 
   Install instructions. https://help.github.com/articles/set-up-git and http://git-scm.com/downloads.
5. run this on that directory:
   <tt>git clone git://github.com/riandrea/nms.git</tt> 
6. change to the directory, on your terminal console, run:
   <tt>cd nms</tt>
7. run bundle install to install and setup everything on the Gemfile:
   <tt>bundle install</tt> or <tt>sudo bundle install</tt> if needed(usually on linux environment).
8. run this command to start the application on development server:
   <tt>rails s</tt>
   press ctrl+c to stop the server.
   <tt>rails c</tt> to open the ruby on rails console 
9. Open http://localhost:3000 on your browser. enjoy!
10. There is a posibility of an un-used controller(s) still exist. feel free to remove them.




== Attention!!
* See The LICENSE : link:LICENSE.md.

* Feel free to use, distribute, and please Fork to contribute. I'm always open to suggestions.

* Probably thousands of high quality coffee beans have died and dozens of beer cans have been recycled in the creation of this application.



{'fraction_non_alphanumeric': 0.07796121593291405, 'fraction_numerical': 0.017557651991614256, 'mean_word_length': 4.160919540229885, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 4, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5670744', 'n_tokens_mistral': 2161, 'n_tokens_neox': 1987, 'n_words': 1003}