/PoGoBag

Analyze and share your Pokémon through a locally run server! SITE IS LIVE NOW!

Primary LanguageRuby

PoGoBag

Analyze and Share your PokemonGo Inventory online!

Feel free to contribute and make pull request.

To Setup:

Requirements

  • Ruby
  • Git
  • Node.js
  • Gems: rails, bundler
Windows:
  1. Install Ruby 2.2.5 http://rubyinstaller.org/downloads/
    x64 for 64-bit system and regular install for 32-bit system
  2. Install Ruby DevKit http://rubyinstaller.org/downloads/
    Same link but at the bottom. Follow same logic for x64 as the above step
    2a) Create a new directory to extract the Ruby DevKit into 2b) Run these commands:
cd <RubyDev Path>
ruby dk.rb init
ruby dk.rb install
  1. Install Node.js 4.4.7 https://nodejs.org/en/
  2. Install Git https://git-scm.com/downloads
  3. Run these two commands in terminal:
gem install rails
gem install bundler
Mac:
  1. Install Ruby with RVM
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew -v
brew doctor
\curl -L https://get.rvm.io | bash -s stable
rvm install 2.3.1
rvm use 2.3.1 --default
ruby -v
  1. Install Node.js: "brew install node"
  2. Install Git: "brew install git"
  3. Run these two commands:
gem install rails
gem install bundler

Steps

  1. Open terminal and change direcotry into whichever directory you want to place the project in: "cd ~" (for home directory)
  2. In that directory, clone the project "git clone https://github.com/dphuang2/PoGoBag.git"
  3. change directory into the project: "cd PoGoBag"
  4. Install all dependencies: "bundle install"
  5. Run database setup and start the server
rake db:setup
rails s
  1. Open your browser and navigate to http://localhost:3000
  2. Login and browse your Pokemon!

Imgur

How to setup auto refresh:

  1. Run "whenever -w" inside of the project directory

How to access remotely (with ngrok):

  1. Download ngrok from https://ngrok.com/download
  2. Unzip and put ngrok inside of the same directory as PoGoBag
  3. Run "rails s" as usual inside of the project directory
  4. Open a new terminal or tab and cd into the project directory
  5. Run "./ngrok http 3000"
  6. Use the link under "Forwarding" to connect remotely
    Imgur

Screenshots:

Imgur Imgur

Credits:

nabeelamjad - For the API