The Pokémon GO Sharing Community
Python HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.ebextensions
stardustrun
stardustrun_project
.bowerrc
.gitignore
LICENSE
README.md
bower.json
manage.py
requirements.txt

README.md

StardustRun

The Pokémon GO Sharing Community

Get Started

  • Install pre-requirements

    • Debian, Ubuntu, and variants

      apt-get install libpython-dev libffi-dev python-virtualenv libmysqlclient-dev nodejs
    • Arch

      pacman -S libffi python-virtualenv libmysqlclient nodejs
  • Clone the repo

    git clone https://github.com/SchoolIdolTomodachi/StardustRun.git
    cd StardustRun
  • Create a virtualenv to isolate the package dependencies locally

    virtualenv env
    source env/bin/activate
  • Install packages (including MagiCircles)

    pip install --upgrade setuptools
    pip install -r requirements.txt
  • Create tables, initialize database

    python manage.py migrate
  • Create the initial database of Pokémon (optional)

    pip install beautifulsoup4
    pip install html5lib
    python manage.py import_serebii

    You may use "noimages" after "import_serebii" to make it faster

  • Generate the generated settings

    python manage.py generate_settings
  • Get the static files

    git clone https://github.com/SchoolIdolTomodachi/StardustRun-Static.git
    mv StardustRun-Static stardustrun/static
  • Download front-end dependencies

    npm install -g bower
    bower install
  • Launch the server

    python manage.py runserver
  • Open your browser to http://localhost:8000/ to see the website

More

  • Compile localized messages

    python manage.py compilemessages
  • Fill the map with users locations

    python manage.py latlong