A light-as-possible rewrite of Lexiconga
Go to file
Robbie Antenesse 4ad86e31fa Fix updateCurrentChangeDictionaryOption() selector 2019-05-28 00:17:23 -06:00
src Fix updateCurrentChangeDictionaryOption() selector 2019-05-28 00:17:23 -06:00
.gitignore Force local project database user/password setup 2019-05-17 12:52:20 -06:00
.postcssrc Set up autoprefixer for css 2019-05-07 15:55:55 -06:00
README.md Update README.md to be helpful 2019-05-21 19:42:38 -06:00
composer.json Add composer and some things to help with dev + basics 2019-05-13 17:18:31 -06:00
composer.lock Add composer and some things to help with dev + basics 2019-05-13 17:18:31 -06:00
index.html Only render MakePublic if logged in 2019-05-24 15:37:15 -06:00
package.json Add original .htaccess file from Lexiconga 2019-05-27 23:51:28 -06:00
view.html Make view.html a template for router.php to use 2019-05-27 22:52:50 -06:00
yarn.lock Add composer and some things to help with dev + basics 2019-05-13 17:18:31 -06:00

README.md

Lexiconga

This is the light-as-possible rewrite of Lexiconga.

Installation

  1. Clone and run yarn and composer install to install dependencies.
  2. Import src/structure.sql into a database called 'lexiconga' on your MariaDB server to get the database structure.
  3. Copy src/php/api/config.php.changeme to src/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.