From 1e32649a5198f860617231ce1de9da31f1bf48e9 Mon Sep 17 00:00:00 2001 From: Sumit Tiwari Date: Sat, 20 Sep 2014 23:50:29 -0400 Subject: [PATCH 01/14] Fixed README, layout changes --- app/views/Home/index.html.php | 4 +-- public/stylesheets/styles.css | 4 +-- readme.md | 49 +++++++++++++++-------------------- 3 files changed, 25 insertions(+), 32 deletions(-) diff --git a/app/views/Home/index.html.php b/app/views/Home/index.html.php index a76cb6e..0da3c38 100644 --- a/app/views/Home/index.html.php +++ b/app/views/Home/index.html.php @@ -9,7 +9,7 @@

- Github', array("class" => "has-tooltip btn btn-large btn-success", "data-title" => "Sign-in using Github"))?> + Github', array("class" => "has-tooltip btn btn-large btn-success", "data-title" => "Sign-in using Github", "style" => "left:25%;"))?>

@@ -87,7 +87,7 @@ if (user_logged_in()) { echo link_to(developer_show_path(current_user()), ' Publish', array("class" => "btn btn-primary btn-large")); } else { - echo link_to(GithubAPI::login_url(), ' Github', array("class" => "has-tooltip btn btn-large btn-success", "data-title" => "Sign-in using Github")); + echo link_to(GithubAPI::login_url(), ' Github', array("class" => "has-tooltip btn btn-large btn-success", "data-title" => "Sign-in using Github", "style" => "left:25%;")); } ?> diff --git a/public/stylesheets/styles.css b/public/stylesheets/styles.css index 84a151a..38b1656 100644 --- a/public/stylesheets/styles.css +++ b/public/stylesheets/styles.css @@ -53,7 +53,7 @@ .project-spotlight .btn.btn-large { bottom: 10px; position: absolute; - left: 25%; + left: 22%; } .project-spotlight img { @@ -130,7 +130,7 @@ display: none; .twitter-share-button { position: absolute; bottom: 59px; -left: 39%; +left: 37%; } input:disabled { background: white; diff --git a/readme.md b/readme.md index e51acad..2bd28db 100644 --- a/readme.md +++ b/readme.md @@ -1,43 +1,37 @@ #Looking For Pull Requests -The site where you can find possible projects to contribute to, or even publish your own projects and let others find it and help you!. +The site where you can find possible projects to contribute to, or even publish your own projects and let others find it and help you! ##Using LFPR -Using the site is dead simple, if you're just browsing, click on the "Find projects" button on the home page, and you'll be redirected to the main list of published projects. If you're interested in a particular programming language you can filter by it. +Using the site is dead simple: if you're just browsing, click on the "Find projects" button on the home page, and you'll be redirected to the main list of published projects. If you're interested in a particular programming language you can filter the list by it. -If you're looking to publish your project and let others find it, just click on the "Publish your project" button on the main page. You'll be redirected to a page, where you'll be invited to enter the project's URL (only works for projects hosted on Github) and after clicking on the "Query" button, all relevant information will be pulled using Github's API. Just click on "Send info" after that, and you'll be all set. +If you're looking to publish your project and let others find it, just click on the "Publish your project" button on the main page. You'll be redirected to a new page, where you'll be invited to enter the project's URL (only works for projects hosted on Github) and after clicking on the "Query" button, all relevant information will be pulled using Github's API. Just click on "Send Info" after that, and you'll be all set. ##What's inside it? -Apart from listing repos, LFPR is daily pulling statistics of those projects from GitHub, trying to display in a graphical manner, how "alive" that project is, because, lets be honest, if you're going to spend your time contributing to someone else's project, you want to make sure that, at least, it's still under development, otherwise, you'll probably sending pull requests that will never be answered. +Apart from listing repos, LFPR is pulling daily statistics of those projects from GitHub, trying to display in a graphical manner how "alive" that project is. Because, let's be honest, if you're going to spend your time contributing to someone else's project, you want to make sure that at least it's still under development. Otherwise, you're probably sending pull requests that will never be answered. -##Contributing to the project. - -This project has a lot more features coming, specially related to project and user statistics, so if you feel like contributing, just go the it's repo, create a ticket and we'll go from there :) - -OR, you can just email me at: deleteman[at]gmail[dot]com - -###Running the site locally +##Running the site locally If you're planning on cloning the site and running it locally, follow these simple steps: -####Pre requirements +####Pre-requirements -1. Install Apache 2 -2. Install MySQL 5 -3. Install PHP 5 (with cli package and mysql package) -4. Install PHP CURL module +1. Install Apache 2. +2. Install MySQL 5. +3. Install PHP 5 (with the cli package and mysql packages). +4. Install the PHP CURL module. ####Actual steps -1. Clone the repo -2. Create a `tmp` directory on the project directory (and make sure it's writable by apache) -3. `$ cp config/config{.base,}.yml && cp config/database{.base,}.yml` -4. Run ./makiavelo.php db:create -5. Run ./makiavelo.php db:load -6. Run ./makiavelo.php db:migrate -7. Configure a virtual host, with the following information +1. Clone the repo. +2. Create a `tmp` directory inside the project directory (and make sure it's writable by Apache). +3. Run `cp config/config{.base,}.yml && cp config/database{.base,}.yml`. +4. Run `./makiavelo.php db:create`. +5. Run `./makiavelo.php db:load`. +6. Run `./makiavelo.php db:migrate`. +7. Configure a virtual host with the following information: ``` ServerAdmin webmaster@dummy-host2.example.com @@ -50,18 +44,16 @@ If you're planning on cloning the site and running it locally, follow these simp ``` -7.1 If you're using Apache 2.4+ then you should add one more line after AllowOverride All: `Require all granted` +If you're using Apache 2.4+ then you should add one more line after AllowOverride All: `Require all granted`. 8. Make sure you have mod_rewrite enabled - `sudo a2enmod rewrite` 9. Add an entry to your hosts file, so that the virtual host will work. 10. Make sure the /tmp folder inside the project is writable by Apache (if in doubt, give it a 777) 11. ???? 12. Profit! +##Contributing - -###Contributing - -If you feel like helping out by bug-fixing, or contributing with a new feature or whatever, just follow these simple steps: +This project has lots of features coming, especially those related to project and user statistics. If you feel like helping out by bug-fixing, or contributing with a new feature, or whatever, just follow these simple steps: 1. Create an issue for it. 2. Fork the repo. @@ -69,6 +61,7 @@ If you feel like helping out by bug-fixing, or contributing with a new feature o 4. Commit and create a pull request. 5. Be happy :) +OR, you can just email me at: deleteman[at]gmail[dot]com, and we'll take it from there. ##More? From 0d27f40b515ec461a852fb59d974c9a8e888ce6d Mon Sep 17 00:00:00 2001 From: Sumit Tiwari Date: Sat, 20 Sep 2014 23:54:14 -0400 Subject: [PATCH 02/14] Fixed README, layout changes --- readme.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 2bd28db..6394e37 100644 --- a/readme.md +++ b/readme.md @@ -31,7 +31,7 @@ If you're planning on cloning the site and running it locally, follow these simp 4. Run `./makiavelo.php db:create`. 5. Run `./makiavelo.php db:load`. 6. Run `./makiavelo.php db:migrate`. -7. Configure a virtual host with the following information: +7. Configure a virtual host with the following information (and if you're using Apache 2.4+ then you should add one more line after AllowOverride All: `Require all granted`): ``` ServerAdmin webmaster@dummy-host2.example.com @@ -44,7 +44,6 @@ If you're planning on cloning the site and running it locally, follow these simp ``` -If you're using Apache 2.4+ then you should add one more line after AllowOverride All: `Require all granted`. 8. Make sure you have mod_rewrite enabled - `sudo a2enmod rewrite` 9. Add an entry to your hosts file, so that the virtual host will work. 10. Make sure the /tmp folder inside the project is writable by Apache (if in doubt, give it a 777) @@ -53,7 +52,7 @@ If you're using Apache 2.4+ then you should add one more line after AllowOverrid ##Contributing -This project has lots of features coming, especially those related to project and user statistics. If you feel like helping out by bug-fixing, or contributing with a new feature, or whatever, just follow these simple steps: +This project has lots of features coming, especially those related to project and user statistics. If you feel like helping out by bug-fixing, contributing with a new feature, or whatever, just follow these simple steps: 1. Create an issue for it. 2. Fork the repo. From 732279fb5a9d81e51bac97453999c02b9463bb0a Mon Sep 17 00:00:00 2001 From: Sumit Tiwari Date: Sat, 20 Sep 2014 23:57:09 -0400 Subject: [PATCH 03/14] Fixed README, layout changes --- readme.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 6394e37..cdae013 100644 --- a/readme.md +++ b/readme.md @@ -16,7 +16,7 @@ Apart from listing repos, LFPR is pulling daily statistics of those projects fro If you're planning on cloning the site and running it locally, follow these simple steps: -####Pre-requirements +####Pre-requisites 1. Install Apache 2. 2. Install MySQL 5. @@ -32,6 +32,7 @@ If you're planning on cloning the site and running it locally, follow these simp 5. Run `./makiavelo.php db:load`. 6. Run `./makiavelo.php db:migrate`. 7. Configure a virtual host with the following information (and if you're using Apache 2.4+ then you should add one more line after AllowOverride All: `Require all granted`): + ``` ServerAdmin webmaster@dummy-host2.example.com @@ -44,6 +45,7 @@ If you're planning on cloning the site and running it locally, follow these simp ``` + 8. Make sure you have mod_rewrite enabled - `sudo a2enmod rewrite` 9. Add an entry to your hosts file, so that the virtual host will work. 10. Make sure the /tmp folder inside the project is writable by Apache (if in doubt, give it a 777) From 8d824616dbe4a99b289401875f29719d0e65f55c Mon Sep 17 00:00:00 2001 From: Sumit Tiwari Date: Sat, 20 Sep 2014 23:58:41 -0400 Subject: [PATCH 04/14] Fixed README, layout changes --- readme.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/readme.md b/readme.md index cdae013..42f93ab 100644 --- a/readme.md +++ b/readme.md @@ -27,11 +27,11 @@ If you're planning on cloning the site and running it locally, follow these simp 1. Clone the repo. 2. Create a `tmp` directory inside the project directory (and make sure it's writable by Apache). -3. Run `cp config/config{.base,}.yml && cp config/database{.base,}.yml`. -4. Run `./makiavelo.php db:create`. -5. Run `./makiavelo.php db:load`. -6. Run `./makiavelo.php db:migrate`. -7. Configure a virtual host with the following information (and if you're using Apache 2.4+ then you should add one more line after AllowOverride All: `Require all granted`): +3. Run `cp config/config{.base,}.yml && cp config/database{.base,}.yml` +4. Run `./makiavelo.php db:create` +5. Run `./makiavelo.php db:load` +6. Run `./makiavelo.php db:migrate` +7. Configure a virtual host with the following information: ``` @@ -45,6 +45,7 @@ If you're planning on cloning the site and running it locally, follow these simp ``` +And if you're using Apache 2.4+ then you should add one more line after AllowOverride All: `Require all granted` 8. Make sure you have mod_rewrite enabled - `sudo a2enmod rewrite` 9. Add an entry to your hosts file, so that the virtual host will work. From 5c2794d666bb4eb4252db56ad6e00400c4ae4adc Mon Sep 17 00:00:00 2001 From: Sumit Tiwari Date: Sun, 21 Sep 2014 00:03:09 -0400 Subject: [PATCH 05/14] Fixed README, layout changes --- readme.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/readme.md b/readme.md index 42f93ab..5fb5e7e 100644 --- a/readme.md +++ b/readme.md @@ -34,16 +34,16 @@ If you're planning on cloning the site and running it locally, follow these simp 7. Configure a virtual host with the following information: ``` - - ServerAdmin webmaster@dummy-host2.example.com - DocumentRoot """ - ServerName lfpr.local.com - SetEnv makiavelo_env "development" - - "> - AllowOverride All - - + + ServerAdmin webmaster@dummy-host2.example.com + DocumentRoot """ + ServerName lfpr.local.com + SetEnv makiavelo_env "development" + + "> + AllowOverride All + + ``` And if you're using Apache 2.4+ then you should add one more line after AllowOverride All: `Require all granted` From 7f5617975d04dd47196dd1e686e0091d57392578 Mon Sep 17 00:00:00 2001 From: Sumit Tiwari Date: Sun, 21 Sep 2014 00:05:24 -0400 Subject: [PATCH 06/14] Fixed README, layout changes --- readme.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/readme.md b/readme.md index 5fb5e7e..cab8497 100644 --- a/readme.md +++ b/readme.md @@ -33,18 +33,18 @@ If you're planning on cloning the site and running it locally, follow these simp 6. Run `./makiavelo.php db:migrate` 7. Configure a virtual host with the following information: -``` - - ServerAdmin webmaster@dummy-host2.example.com - DocumentRoot """ - ServerName lfpr.local.com - SetEnv makiavelo_env "development" - - "> - AllowOverride All - - -``` + ``` + + ServerAdmin webmaster@dummy-host2.example.com + DocumentRoot """ + ServerName lfpr.local.com + SetEnv makiavelo_env "development" + + "> + AllowOverride All + + + ``` And if you're using Apache 2.4+ then you should add one more line after AllowOverride All: `Require all granted` 8. Make sure you have mod_rewrite enabled - `sudo a2enmod rewrite` From a8772a35030426ea9155b79c097c0816cd587146 Mon Sep 17 00:00:00 2001 From: Sumit Tiwari Date: Sun, 21 Sep 2014 00:07:36 -0400 Subject: [PATCH 07/14] Fixed README, layout changes --- readme.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/readme.md b/readme.md index cab8497..f69f31c 100644 --- a/readme.md +++ b/readme.md @@ -33,7 +33,6 @@ If you're planning on cloning the site and running it locally, follow these simp 6. Run `./makiavelo.php db:migrate` 7. Configure a virtual host with the following information: - ``` ServerAdmin webmaster@dummy-host2.example.com DocumentRoot """ @@ -44,9 +43,8 @@ If you're planning on cloning the site and running it locally, follow these simp AllowOverride All - ``` -And if you're using Apache 2.4+ then you should add one more line after AllowOverride All: `Require all granted` +And if you're using Apache 2.4+ then you should add one more line after AllowOverride All: `Require all granted` 8. Make sure you have mod_rewrite enabled - `sudo a2enmod rewrite` 9. Add an entry to your hosts file, so that the virtual host will work. 10. Make sure the /tmp folder inside the project is writable by Apache (if in doubt, give it a 777) From 420bd0d7e5a42d7687eebfbf72212d4457fe1fcd Mon Sep 17 00:00:00 2001 From: Sumit Tiwari Date: Sun, 21 Sep 2014 00:08:14 -0400 Subject: [PATCH 08/14] Fixed README, layout changes --- readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/readme.md b/readme.md index f69f31c..2c313fe 100644 --- a/readme.md +++ b/readme.md @@ -45,6 +45,7 @@ If you're planning on cloning the site and running it locally, follow these simp And if you're using Apache 2.4+ then you should add one more line after AllowOverride All: `Require all granted` + 8. Make sure you have mod_rewrite enabled - `sudo a2enmod rewrite` 9. Add an entry to your hosts file, so that the virtual host will work. 10. Make sure the /tmp folder inside the project is writable by Apache (if in doubt, give it a 777) From 65fa68007d149e2313695fd6c64e422f0713eaa3 Mon Sep 17 00:00:00 2001 From: Sumit Tiwari Date: Sun, 21 Sep 2014 00:09:12 -0400 Subject: [PATCH 09/14] Fixed README, layout changes --- readme.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 2c313fe..fb848a8 100644 --- a/readme.md +++ b/readme.md @@ -33,6 +33,7 @@ If you're planning on cloning the site and running it locally, follow these simp 6. Run `./makiavelo.php db:migrate` 7. Configure a virtual host with the following information: + ``` ServerAdmin webmaster@dummy-host2.example.com DocumentRoot """ @@ -43,9 +44,9 @@ If you're planning on cloning the site and running it locally, follow these simp AllowOverride All + ``` And if you're using Apache 2.4+ then you should add one more line after AllowOverride All: `Require all granted` - 8. Make sure you have mod_rewrite enabled - `sudo a2enmod rewrite` 9. Add an entry to your hosts file, so that the virtual host will work. 10. Make sure the /tmp folder inside the project is writable by Apache (if in doubt, give it a 777) From c1313a18b9823356789f5b2436ae0485becdbd58 Mon Sep 17 00:00:00 2001 From: Sumit Tiwari Date: Sun, 21 Sep 2014 00:13:39 -0400 Subject: [PATCH 10/14] Fixed README, layout changes --- readme.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/readme.md b/readme.md index fb848a8..f990096 100644 --- a/readme.md +++ b/readme.md @@ -33,7 +33,6 @@ If you're planning on cloning the site and running it locally, follow these simp 6. Run `./makiavelo.php db:migrate` 7. Configure a virtual host with the following information: - ``` ServerAdmin webmaster@dummy-host2.example.com DocumentRoot """ @@ -44,9 +43,8 @@ If you're planning on cloning the site and running it locally, follow these simp AllowOverride All - ``` - And if you're using Apache 2.4+ then you should add one more line after AllowOverride All: `Require all granted` + 8. Make sure you have mod_rewrite enabled - `sudo a2enmod rewrite` 9. Add an entry to your hosts file, so that the virtual host will work. 10. Make sure the /tmp folder inside the project is writable by Apache (if in doubt, give it a 777) From 6b9ded7627004b8a1efb0f41139aea9859442879 Mon Sep 17 00:00:00 2001 From: Sumit Tiwari Date: Sun, 21 Sep 2014 00:14:50 -0400 Subject: [PATCH 11/14] Fixed README, layout changes --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index f990096..b266a95 100644 --- a/readme.md +++ b/readme.md @@ -45,7 +45,7 @@ If you're planning on cloning the site and running it locally, follow these simp And if you're using Apache 2.4+ then you should add one more line after AllowOverride All: `Require all granted` -8. Make sure you have mod_rewrite enabled - `sudo a2enmod rewrite` +8. Make sure you have mod_rewrite enabled - `sudo a2enmod rewrite`. 9. Add an entry to your hosts file, so that the virtual host will work. 10. Make sure the /tmp folder inside the project is writable by Apache (if in doubt, give it a 777) 11. ???? From de9d20044e7976b52c64f0810d560ba034868ac3 Mon Sep 17 00:00:00 2001 From: Sumit Tiwari Date: Sun, 21 Sep 2014 00:18:39 -0400 Subject: [PATCH 12/14] Fixed README, layout changes --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index b266a95..f990096 100644 --- a/readme.md +++ b/readme.md @@ -45,7 +45,7 @@ If you're planning on cloning the site and running it locally, follow these simp And if you're using Apache 2.4+ then you should add one more line after AllowOverride All: `Require all granted` -8. Make sure you have mod_rewrite enabled - `sudo a2enmod rewrite`. +8. Make sure you have mod_rewrite enabled - `sudo a2enmod rewrite` 9. Add an entry to your hosts file, so that the virtual host will work. 10. Make sure the /tmp folder inside the project is writable by Apache (if in doubt, give it a 777) 11. ???? From e145f79c346400d54b3069d67569eb6c14dcc670 Mon Sep 17 00:00:00 2001 From: Sumit Tiwari Date: Sun, 21 Sep 2014 00:23:52 -0400 Subject: [PATCH 13/14] Fixed README, layout changes --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index f990096..fb6fc63 100644 --- a/readme.md +++ b/readme.md @@ -20,7 +20,7 @@ If you're planning on cloning the site and running it locally, follow these simp 1. Install Apache 2. 2. Install MySQL 5. -3. Install PHP 5 (with the cli package and mysql packages). +3. Install PHP 5 (with the cli and mysql packages). 4. Install the PHP CURL module. ####Actual steps From ea6646c6a8536e4cfbbdf747f28212d82650553d Mon Sep 17 00:00:00 2001 From: Sumit Tiwari Date: Sun, 21 Sep 2014 00:26:18 -0400 Subject: [PATCH 14/14] Fixed README, layout changes --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index fb6fc63..e560df9 100644 --- a/readme.md +++ b/readme.md @@ -47,7 +47,7 @@ And if you're using Apache 2.4+ then you should add one more line after AllowOve 8. Make sure you have mod_rewrite enabled - `sudo a2enmod rewrite` 9. Add an entry to your hosts file, so that the virtual host will work. -10. Make sure the /tmp folder inside the project is writable by Apache (if in doubt, give it a 777) +10. Make sure that the /tmp folder inside the project is writable by Apache (if in doubt, give it a 777). 11. ???? 12. Profit!