Skip to content
4 changes: 2 additions & 2 deletions app/views/Home/index.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<?php
} else { ?>
<p class="pull-right">
<?=link_to(GithubAPI::login_url(), '<i class="icon-github" style="font-size:30px;" ></i> Github', array("class" => "has-tooltip btn btn-large btn-success", "data-title" => "Sign-in using Github"))?>
<?=link_to(GithubAPI::login_url(), '<i class="icon-github" style="font-size:30px;" ></i> Github', array("class" => "has-tooltip btn btn-large btn-success", "data-title" => "Sign-in using Github", "style" => "left:25%;"))?>
</p>
<?php } ?>
<h3><img src="/img/LFPR-logo.png" /> </h3>
Expand Down Expand Up @@ -87,7 +87,7 @@
if (user_logged_in()) {
echo link_to(developer_show_path(current_user()), '<i class="fui-plus-24"></i> Publish', array("class" => "btn btn-primary btn-large"));
} else {
echo link_to(GithubAPI::login_url(), '<i class="icon-github" style="font-size:30px;" ></i> Github', array("class" => "has-tooltip btn btn-large btn-success", "data-title" => "Sign-in using Github"));
echo link_to(GithubAPI::login_url(), '<i class="icon-github" style="font-size:30px;" ></i> Github', array("class" => "has-tooltip btn btn-large btn-success", "data-title" => "Sign-in using Github", "style" => "left:25%;"));
}
?>

Expand Down
4 changes: 2 additions & 2 deletions public/stylesheets/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
.project-spotlight .btn.btn-large {
bottom: 10px;
position: absolute;
left: 25%;
left: 22%;
}

.project-spotlight img {
Expand Down Expand Up @@ -130,7 +130,7 @@ display: none;
.twitter-share-button {
position: absolute;
bottom: 59px;
left: 39%;
left: 37%;
}
input:disabled {
background: white;
Expand Down
75 changes: 34 additions & 41 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,74 +1,67 @@
#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-requisites

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 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
```
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host2.example.com
DocumentRoot "<path to the public folder>""
ServerName lfpr.local.com
SetEnv makiavelo_env "development"

<Directory "<path to the public folder>">
AllowOverride All
</Directory>
</VirtualHost>
```
7.1 If you're using Apache 2.4+ then you should add one more line after AllowOverride All: `Require all granted`
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:

<VirtualHost *:80>
ServerAdmin webmaster@dummy-host2.example.com
DocumentRoot "<path to the public folder>""
ServerName lfpr.local.com
SetEnv makiavelo_env "development"

<Directory "<path to the public folder>">
AllowOverride All
</Directory>
</VirtualHost>
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)
10. Make sure that 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, contributing with a new feature, or whatever, just follow these simple steps:

1. Create an issue for it.
2. Fork the repo.
3. Make your changes.
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?

Expand Down