The quick and easy dictionary builder for constructed languages.
https://lexicon.ga
Robbie Antenesse f0b146e5fc | ||
---|---|---|
src | ||
.gitignore | ||
.postcssrc | ||
README.md | ||
composer.json | ||
composer.lock | ||
index.html | ||
package.json | ||
yarn.lock |
README.md
Lexiconga
This is the light-as-possible rewrite of Lexiconga.
Installation
- Clone and run
yarn
andcomposer install
to install dependencies. - Import
src/structure.sql
into a database called 'lexiconga' on your MariaDB server to get the database structure. - Copy
src/php/api/config.php.changeme
tosrc/php/api/config.php
and update the values within to enable connections to your lexiconga database.
Requirements
Development
npm start
bundles and watches frontend and backend changes. Set up a junction link to dist
from the root of your php-processing web server.
It's less useful, but npm run serve-frontend-only
will bundle and serve only the front end stuff from localhost:1234
. The bundled files all still get bundled into dist
.
Production
npm run bundle
bundles and minifies the frontend stuff and also copies the backend stuff to dist
. Be sure to run npm run clear
to delete the contents of dist
and .cache
before using npm run bundle
to make sure you don't get old dev versions of the bundled code included in your upload.