Generate a portfolio for your GitHub repository.
See the wiki for an overview of the implementation.
Selecting Repositories to Showcase
github-portfolio will only show projects that you have self-starred.
- Starring a repository that you can push to will display it as a primary repository.
- Starring a your fork of another repostiory will show the parent repository as a project that you have contributed to.
Viewing Your Portfolio
- Visit / to view your portfolo
- Visit //reload to reload your portfolo
This is a standard Rails 4 application.
After bundler installs gems, these initial setup steps will get the app running:
Create a personal access token with the public_repo permission at https://github.com/settings/tokens.
config/secrets.yml.example, and insert your GitHub access token.
Migrate the database
Install memcached. To use memcached in development/test environments, set environment variable
Run the rails server
(Optional) For fast page loads, [configure your web server] to use the page caches that the app generates in
public/page_cache/. : https://github.com/rails/actionpack-page_caching/issues/27#issuecomment-110550147
To configure the root route
/to display a particular portfolio, set the environment variable:
secrets.ymlto a color of your choice. You can also use the URL parameter
?hue=123to experiment with hue colors. Restart the rails server if it is running.
rails consoleto customize the header text:
Header.find_or_create_by(github_username: 'your-github-login') do |header| header.title = 'Large Heading Text', header.tagline = 'Tagline text', header.intro = "Some text.\nFeel free to use more lines." end
This github-portfolio application is Copyright 2015 Edward Anderson, and is distributed under the GNU Affero General Public License.
You may use this code for free, but you are required to offer the source code for your version to your users. See LICENSE for details.