项目作者: gitshowcase

项目描述 :
Awesome Portfolio from your Github
高级语言: Ruby
项目地址: git://github.com/gitshowcase/gitshowcase.git
创建时间: 2017-01-09T02:52:31Z
项目社区:https://github.com/gitshowcase/gitshowcase

开源协议:

下载


GitShowcase

Code Climate
Build Status
standard-readme compliant

Get noticed with a rockstar Portfolio

GitShowcase exists to help developers to present their awesomeness, showing their skills, projects and social networks
in a way that is easy to understand.

Contact us @ jedi@gitshowcase.com

Table of Contents

Install

System Requirements

  • Ruby 2.4.0 recommended
  • Postgres 9.2+
  • NodeJS (for compiling javascript resources)

Fork and bundle

  • Fork the project
  • Run bundle to install gems
    1. bundle install

Create your GitHub application

Unless you only want to edit the homepage, you’ll need your own GitHub credentials for development.

Go to your settings, than OAuth applications and register a new application.

For Authorization callback URL field, use: http://localhost:3000/users/auth/github/callback. The other fields (name, description) may be filled at your will.

Configure your environment

Copy the file .env.example to .env and fill the fields

  1. DB_USERNAME=
  2. DB_PASSWORD=
  3. APP_DOMAIN=localhost
  4. GITHUB_KEY=
  5. GITHUB_SECRET=

If you’re using Linux or OSX, you probably don’t need to fill the DB_ fields

Database setup

Download and Install Postgres

  • Create the databases:

    1. rails db:create
  • Run migrations to create tables:

    1. rails db:migrate
  • Seeding:

    1. rails db:seed

Redis setup

Redis is used for managing queues inside the application.

For more information about how to install Redis, please refer to https://redis.io/topics/quickstart

Running Tests

To run the tests, use:

  1. bundle exec rspec

Running Server

Start Rails, Redis and Sidekiq.

  1. rails s
  2. redis-server
  3. bundle exec sidekiq

Road map

We have a road map of what we are going to implement next. It is available at our projects page

https://github.com/gitshowcase/gitshowcase/projects

If you wish to add features that are not on the road map, you’re very welcome to do so. We encourage you to
create an Issue
before coding, so we can all discuss the relevance to the community.

Please keep in mind that the focus is to create a great product, so we might not implement/accept all the suggested features.

Maintainers

Pedro Moreira (Developer) - https://www.gitshowcase.com/pedsmoreira

Victor Hunter (UI/UX) - https://www.gitshowcase.com/victorgaard

Contribute

All contributions must be written in English, so everyone can communicate :)

Feel free to Open an issue or submit PRs. If you choose
to open a PR, please do so on the development branch.

GitShowcase follows the Contributor Covenant Code of Conduct.

Code Style

TODO - Add code styling (Rubocop) to Travis CI

Code Quality

The Pull Request must not present issues on Code Climate.

Commit Messages

Commit messages should be verb based, such as:

  • Fixing …
  • Adding …
  • Updating …
  • Removing …

Tests

Please update the tests to reflect your changes.

Travis CI will run on your PR and it has to pass for the PR to be accepted :)

License

gitshowcase.com/license