/conjugarden-1

Learn Spanish conjugation the easy way.

Primary LanguageHTMLGNU Affero General Public License v3.0AGPL-3.0

Conjugarden

Forked from hghwng

Introduction

Learn Spanish conjugation the easy way.

Dependencies

  • Python 3: build the dictionary
  • Node.js: main application

Setup

Copy the config file:

cp config.js.example config.js

Create a database in mysql to use, and then edit config.js with the connection details. (example sql to create the database and a user:)

CREATE USER 'conjugarden_user'@'localhost' IDENTIFIED BY 'some_password';
CREATE DATABASE conjugarden;
GRANT ALL ON conjugarden.* TO 'conjugarden_user'@'localhost';

Install node dependencies:

npm install

Initialize the database schema & data

node site/initialize_database.js

Build the dictionary:

Start the server:

cd site && node app.js

The server listens on port 8080 by default.