Coder Social home page Coder Social logo

semperrabbit / screeps-loan Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alinanova21/screeps-loan

0.0 2.0 0.0 92.71 MB

Alliance Tracking Website for Screeps

Home Page: http://www.leagueofautomatednations.com/

License: Other

Makefile 0.11% Shell 1.00% Python 9.49% CSS 1.21% JavaScript 82.68% HTML 5.52%

screeps-loan's Introduction

Requirements

  • Postgres
  • Python 3.x

Setup

Update the info in settings.example

cp settings.example settings
nano settings # add api settings.
pip install -r requirements.txt
export SETTINGS="`pwd`/settings"
export FLASK_APP=screeps_loan/screeps_loan.py
python db/manage.py version_control
python db/manage.py upgrade
flask run
flask import_users  #This actually will run map stats to get all users on the map
flask import_alliances #Importing alliance from alliances.js file

Update Data

Bash wrapper scripts are provided to make updating easier.

./bin/import_users
./bin/import_alliances

Testing with Vagrant

  1. Install vagrant.
  2. Copy provisioning/settings to project root and add your screeps api credentials.
  3. Run vagrant up in the project root.
  4. Wait.
  5. Once complete open http://127.0.0.1:8080/ in a browser.

screeps-loan's People

Contributors

alinanova21 avatar daboross avatar esryok avatar karlthepagan avatar nhanho avatar nolanfu avatar roncli avatar semperrabbit avatar sparr avatar tedivm avatar

Watchers

 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.