/GitHubAPI-CodeIgniter-SemanticUI

Showcase built with using GitHub API :octocat:, CodeIgniter :fire:, and frontend framework Semantic-UI

Primary LanguagePHPMIT LicenseMIT

GitHub API - CodeIgniter - SemanticUI

This applications built with CodeIgniter V3 + HMVC, Gihub API, Semantic UI.

Dependency

Install

  • Step 1

    • Zip ball
    • Clone repository:
      • Open your command line.
      • Move to your web server directory.
      git clone https://github.com/SunDi3yansyah/GitHubAPI-CodeIgniter-SemanticUI
      
    • Bower
      • Open your command line.
      • Move to your web server directory.
      bower install SunDi3yansyah/GitHubAPI-CodeIgniter-SemanticUI
      
  • Step 2

    • Edit file
      ../application/config/config_custom.php
      
    • Set environment variable
    export PERSONAL_ACCESS_TOKEN=f013d66c7f6817d08b7e...
    
    • You will see code like this
    $config['token'] = getenv('PERSONAL_ACCESS_TOKEN');
    $config['github_username'] = 'your-username';
    
    • Change the value with your token and username from GitHub
    • Open this link https://github.com/settings/tokens
    • you will see a box section Personal access tokens
    • Click button Generate new token
    • Enter your desired Token description
    • Enter your desired Select scopes
    • Click Generate token
    • Copy token that you just made to the file Homepage.php
  • Step 3

    • Edit file
    ../application/config/config_custom.php
    
    • Change according to what you want, I hope you can fill in all fields
    • Finished you can see the results by pointing the browser to http://localhost / http://localhost/project / http://your.site / etc... up to you.

License