Code Monkey home page Code Monkey logo

lidarts's Introduction

Lidarts is a free/libre, open-source online darts scoring website.

The project is mostly written in Python3. The backend is based on Flask-Socketio. gevent workers are managed by gunicorn and communicate over redis. Data is stored in a PostgresSQL database. HTTP requests and WebSockets are proxied by nginx.

The entire project is driven by volunteers. Everyone is invited to contribute. Join us on our Discord server!

Installation

To set up a development environment make sure you have Python 3.6 or later installed.

Install the system requirements. Change "python3" to a different version (e.g. to "python3.7-venv" etc.) if you have a custom installation of Python and you don't want to use the system default.

sudo apt-get update
sudo apt-get install python3-venv python3-dev build-essential redis-server

Clone the repo

git clone https://github.com/mischkadb/lidarts lidarts-dev

Create a new virtual environment and activate it

cd lidarts-dev
python3.7 -m venv venv
source venv/bin/activate

Install dependencies

pip install -r requirements_dev.txt

Create instance folder and copy example config

mkdir instance
cp example/config.py instance/config.py

Create the database

python manager.py createdb

There is currently an issue with the migrations directory. Remove it and initialize it again

rm -r migrations
flask db init
flask db migrate
flask db upgrade

Run the development server with

python manager.py runserver

Usage

Open 127.0.0.1:5000 in your browser. The index page should appear.

lidarts's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar mischkadb avatar niklasbec avatar thomasmiko avatar weberpatr avatar

Watchers

 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.