Giter Site home page Giter Site logo

baileyfurrow / wikipedia-speedruns Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wikispeedruns/wikipedia-speedruns

0.0 0.0 0.0 883 KB

Source code for Wikipedia Speedruns!

Home Page: https://wikispeedruns.com

License: MIT License

Python 33.54% HTML 21.32% JavaScript 31.90% CSS 13.25%

wikipedia-speedruns's Introduction

Competitive Wikipedia Speedrunning

This repository holds the code for wikispeedruns.com.

1. Prerequisites

2. Python Setup

Setup Virtual Environment (optional)

We recommend creating a Python virtual environment for running the server.

python -m venv env

For Windows Powershell:

./env/Scripts/Activate.ps1

For Linux

source env/bin/activate

Install Requirements

Then install the requirements (with your virtual environment activated)

pip install -r requirements.txt

3. App Setup

There are a number of scripts to help setup the web app in scripts.

Once the MySQL server is running, you need to create the database and tables

cd scripts
python createDB.py

There is also an interactive script (follow the instructions in the scripts) to create a configuration file and set up and admin account.

cd scripts
python configure.py

4. Running

(Optional) Set environment variables for development

Set the environment variable FLASK_ENV in whaterver command prompt you use plan to use for running the flask server. This will allow the local instance to reload automatically when files are changed.

For example, in Linux

export FLASK_ENV="development"

Or in Windows Powershell

$env:FLASK_ENV="development"

Start the server

From the top level directory

flask run

wikipedia-speedruns's People

Contributors

bricehalder avatar dqian3 avatar maggarwal99 avatar melodymhsu avatar mliu59 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.