Coder Social home page Coder Social logo

dhainlin / listudy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arnevogel/listudy

0.0 0.0 0.0 3.98 MB

Listudy - chess training server

Home Page: https://listudy.org

License: GNU Affero General Public License v3.0

Shell 0.19% JavaScript 22.86% Python 0.30% Elixir 41.77% CSS 7.00% HTML 27.26% SCSS 0.63%

listudy's Introduction

Listudy

Listudy is a application for chess training.

Contribute

Bugs

If you find any bugs, please let me know. You can submit bugs here: https://github.com/ArneVogel/listudy/issues

Translations

Help with translations if you can. You find the current translations here. If you want to help with a language that is not currently avaliable message me or create a issue and I will create the language.

This project used gettext for translations. Gettext uses PO files for translations (example). In these files the original english sentence or phrase msgid is above what the translation should be msgstr. Only edit msgstr in the PO files. Sometimes special sequences like %{name} are in the english text. These must be copied exactly (not translated) into the translation.

Development

Listudy is developed in Elixir using the phoenix framework. It uses postgresql as database. You can checkout scripts/prod/*.sh for how the server is run in production.

To generate opening svg images Python3.8 is used together with python-chess. This should be optional.

To start the server:

  • You need to install Elixir, install npm, and PostgreSQL. The DB user and password for Postgres should be 'postgres' (no quotes).
  • Setup the project with mix setup
  • Install npm dependencies with npm install --prefix assets. For Windows, you need to run cd assets then npm install then cd ...
  • Make study pgn directory with mkdir priv/static/study_pgn
  • Opening svg directory with mkdir priv/static/images/opening
  • Create database with mix ecto.create, migrate databse with mix ecto.migrate, fill database with seed dataset mix run priv/repo/seeds.exs
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

listudy's People

Contributors

arnevogel avatar olleeriksson avatar dependabot[bot] avatar arihol avatar blombard avatar sampma309 avatar minot1 avatar vogelibr avatar fedemengo avatar flavourdave92 avatar lultima avatar ingridmorstrad avatar joelgritter avatar lucasgenova avatar aclonegeek avatar fraga avatar forerosantiago avatar seanyeh avatar n3bojs4 avatar vasilije2448 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.