The quick and easy dictionary builder for constructed languages. http://lexicon.ga
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Robbie Antenesse 39ccddab18 Merge branch 'master' of https://github.com/Alamantus/Lexiconga 2 weeks ago
dev Add social image that's better than just the logo 2 months ago
src Update version number and package data 3 weeks ago
.gitignore Add metadata & manifest to html; Process icons 2 months ago
.htmlnanorc Prevent Parcel from removing ids from SVGs 2 months ago
.postcssrc Update browsers setting for autoprefixer 2 months ago
README.md Various fixes/notes for server compatibility 2 months ago
ads.json Update support links; Clean up html 2 months ago
advertising.html Add social image that's better than just the logo 2 months ago
composer.json Add composer and some things to help with dev + basics 4 months ago
composer.lock Add composer and some things to help with dev + basics 4 months ago
manifest.webmanifest Fix manifest.webmanifest start_url error 2 months ago
offline.html Add social image that's better than just the logo 2 months ago
package.json Update version number and package data 3 weeks ago
template-index.html Add social image that's better than just the logo 2 months ago
template-passwordreset.html Fix accessibility & best practice issues 2 months ago
template-view.html Add social image that's better than just the logo 2 months ago
yarn.lock Add parcel-plugin-goodie-bag for promise & fetch 1 month ago

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.

Migration

There is a script called src/php/api/migrate.php.changeme that can be used to help with the migration process from a version1 Lexiconga database into a master database. Note: Migration is intended only for migrating from an old server to a freshly-installed/empty new database. To use this, copy src/php/api/migrate.php.changeme to migrate.php somewhere in the version1 project (probably in /php) and copy the same to /api/migrate.php in your master project, making sure that all the variables for referencing the databases are correct.

Visit migrate.php on your version1 server with ?outgoing=true set in order to begin the transfer. The other server’s migrate.php will receive an “incoming” request multiple times, and your screen will display messages as it works.

DELETE THESE migrate.php FILES IMMEDIATELY AFTER MIGRATION IS COMPLETE!.

Emails

Be sure you set up email senders/receivers for at least these 3 email addresses:

  • help (can be forwarder)
  • donotreply (must be sender)
  • ads (can be forwarder)