Skip to content

FlavourDave92/listudy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 is above what the translation should be. Sometimes special sequences like %{name} are in the english text. These must be copied exactly (not to be 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.

About

Listudy - chess training server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 45.8%
  • HTML 28.4%
  • JavaScript 17.6%
  • CSS 7.0%
  • SCSS 0.7%
  • Python 0.3%
  • Shell 0.2%