Giter Club home page Giter Club logo

heckguide's Introduction

HeckGuide

Install Python

Install Postgres

Create and enter new working directory eg "HeckGuide"

Create Virtual Environment

py -m venv env

Activate Environment Mac/Unix

source env/bin/activate

Windows

.\env\Scripts\activate

Install requirements for local development

pip install -r requirements/local.txt

Fill in heckguide/sample.env and rename to .env

Make migrations and then run migrations

python manage.py makemigrations
python manage.py migrate

Create a superuser

python manage.py createsuperuser

Generate an API token for the newly created superuser

python manage.py drf_create_token superusername

Run server

python manage.py runserver

Open website

http://127.0.0.1:8000/

Development website

https://v2.heckguide.com/

Commands

Scrapes a set number of allies '5000' already in the database without fully populated info and fills them, then scrapes the owner and that owner etc. Depth set to '3'

python manage.py crawl_allies_by_name 5000 3

Scrapes allys by price '500000' and set number of pages '1', a random token will be picked to scrape.

python manage.py find_allies_by_price 500000 1

Scrapes allys by random price and random number of pages

python manage.py find_random_price_allies

Purchase an ally via supplied username with token

python manage.py buy_ally_by_name kevz 23

Volley an ally between tokens

python manage.py volley kevz

Strip a users allies, token must be given

python manage.py strip_allies kevz 23

Scrape the realm starting at the lower boundry of the map, loading 20 chunks and stepping through to the upper end, pick which realm to crawl passing the token argument

python manage.py crawl_world 1

Scrape the realms chat history

python manage.py poll_map 1

heckguide's People

Contributors

999sie avatar dependabot[bot] avatar kevincornish avatar

Stargazers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.