Git Product home page Git Product logo

lcwo's Introduction

LCWO - Learn CW Online Code Repository

This is the source repository for Learn CW Online, a website to learn and practice Morse code in the browser. The official website of LCWO is https://lcwo.net/. The code can be found at https://git.fkurz.net/dj1yfk/lcwo

The code is licensed under the GNU AGPL 3.

Running LCWO

The fastest way to get a running instance of LCWO is by using Docker. There's a shell script called docker_start.sh which builds and runs the Docker image and fires up an instance of LCWO which you can reach at http://localhost:8000/. There's an user admin with the password admin.

On Ubuntu, install Docker and add your user to the docker group first:

sudo apt-get install docker.io    # unless you already installed docker
sudo usermod -a -G docker $USER   # you must log out and in again to make this work

Then simply clone the repository and run the container:

git clone https://git.fkurz.net/dj1yfk/lcwo.git
cd lcwo
./docker_build.sh
./docker_run.sh

(The build script assumes that you have a public ssh-key in ~/.ssh/. If this is not the case, please create one with ssh-keygen, otherwise the build process will fail.)

Note that this Docker image is mainly meant for development and testing purposes, to give you a fully working LCWO instance from scratch without any effort. For a deployment as a public website this may not be what you want.

Configuration

Most configuration options are set in inc/definitions.php. A template is included in the official sources, which is also used for the Docker image.

If you want to change the configuration you could change this file directly, but the clean way of doing this is by copying this file to inc/definitions.custom.php. If this file is present, the default file will be ignored.

Database

The database table schemata and contents needed to run LCWO are located in the directory db. Have a look at the Dockerfile on how to set up a minimum database that LCWO runs on.

Architecture

How to read the code

TODOs

Code Quality

The code quality of LCWO varies strongly between the different parts, from terrible spaghetti code to somewhat structured and modular. Refactoring needed.

Authors

LCWO was written by Fabian Kurz, DJ5CW (ex DJ1YFK) <[email protected]>.

Thanks to the following authors for contributing code:

lcwo's People

Contributors

dj1yfk avatar victordenisov 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.