Skip to content

jujulike/learn-chinese

 
 

Repository files navigation

Learn-chinese

Lear-chinese logo

This app allow you to learn chinese characters.

Click on "new character" to pick a random one. Each character is stored in session so you can come back ont it during you learning session.

Screenshot from app

Characters are stored in SQLite file web/app.db.

Installation

With docker

$ git clone https://github.com/nicolasgrancher/learn-chinese.git
$ cd learn-chinese
$ cp .env.dist .env

Edit .env :

APP_NAME= # your app name

NGINX_PROXY_NETWORK= # network, leave empty if none

VIRTUAL_HOST= # vhost
LETSENCRYPT_HOST= # config for Let's Encrypt certificate
LETSENCRYPT_EMAIL= # config for Let's Encrypt certificate

Edit nginx configuration docker/nginx/default.conf and replace "VHOST" with your domaine name :

server {
    listen 443 ssl http2;
    ssl_certificate /etc/letsencrypt/VHOST.crt;
    ssl_certificate_key /etc/letsencrypt/VHOST.key;

    server_name VHOST;
    ...

Launch it :

$ docker-compose up --build -d

Install vendors :

$ docker-compose exec php bash
bash-4.3# composer install
...
bash-4.3# exit

About

This app allow you to learn chinese characters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 52.9%
  • PHP 40.2%
  • CSS 4.1%
  • Dockerfile 2.8%