Analyze and Share your PokemonGo Inventory online!
Feel free to contribute and make pull request.
- Ruby
- Git
- Node.js
- Gems: rails, bundler
- Install Ruby 2.2.5 http://rubyinstaller.org/downloads/
x64 for 64-bit system and regular install for 32-bit system - 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
- Install Node.js 4.4.7 https://nodejs.org/en/
- Install Git https://git-scm.com/downloads
- Run these two commands in terminal:
gem install rails
gem install bundler
- 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
- Install Node.js: "brew install node"
- Install Git: "brew install git"
- Run these two commands:
gem install rails
gem install bundler
- Open terminal and change direcotry into whichever directory you want to place the project in: "cd ~" (for home directory)
- In that directory, clone the project "git clone https://github.com/dphuang2/PoGoBag.git"
- change directory into the project: "cd PoGoBag"
- Install all dependencies: "bundle install"
- Run database setup and start the server
rake db:setup
rails s
- Open your browser and navigate to http://localhost:3000
- Login and browse your Pokemon!
- Run "whenever -w" inside of the project directory
- Download ngrok from https://ngrok.com/download
- Unzip and put ngrok inside of the same directory as PoGoBag
- Run "rails s" as usual inside of the project directory
- Open a new terminal or tab and cd into the project directory
- Run "./ngrok http 3000"
- Use the link under "Forwarding" to connect remotely
nabeelamjad - For the API