Lexiconga/README.md

45 lines
2.6 KiB
Markdown
Raw Normal View History

2018-02-22 18:02:32 +01:00
# Lexiconga
2018-02-22 18:02:32 +01:00
The quick and easy dictionary builder for constructed languages.
2018-02-22 18:02:32 +01:00
## About
2018-02-22 18:02:32 +01:00
This is the master branch for the full rewrite of Lexiconga using modern development practices.
2018-02-22 18:02:32 +01:00
The source code for the current version of Lexiconga (http://lexicon.ga) is saved in the `version1` branch.
2018-02-22 18:02:32 +01:00
## Requirements
2018-02-22 18:02:32 +01:00
- Git: latest
- Node: 8.9.3+
- NPM/Yarn: latest
- PHP: 5.4.45+
- Composer: 1.5.6+
- MySQL: 5.5.51-38.2+
2018-02-22 18:02:32 +01:00
## Development
2018-02-22 18:02:32 +01:00
Setting up the dev environment takes a few steps, but it's pretty simple, all things considered. I use Windows to develop, but you should be able to use whatever environment you want--it's just up to you to figure out what to do to serve the files+PHP+MySQL.
2018-02-22 18:02:32 +01:00
First, clone the repository with `git clone`, then initialize the dependencies. Run `yarn` from the root of the Lexiconga directory (`npm install` also works, but [Yarn](https://yarnpkg.org) is just generally better at managing dependencies) to install the JavaScript dependencies, then run `composer install` from the `public/api` directory to install the PHP dependencies.
2018-02-22 18:02:32 +01:00
Now that the dependencies are installed, run WAMP or some other local server that will serve PHP and MySQL for you and point a junction link named `lexiconga` from the server's `www` or `http` folder to the `public` directory in the Lexiconga project. This should allow you to load Lexiconga from http://localhost/lexiconga!
2018-02-22 18:02:32 +01:00
Next, you need to set up the MySQL database. In `public/api`, you should find a `structure.sql` file that contains the database structure. You should be able to import the `.sql` file directly into a database called `lexiconga` and go on your merry way.
2018-02-22 18:02:32 +01:00
Finally, once it's all set up, just run `npm run watch` to start Webpack's file watcher so changes made will compile into the `public` folder, allowing you to simply refresh the webpage any time you make a change.
2015-11-08 01:21:06 +01:00
## Problems or Requests
2018-02-22 18:02:32 +01:00
Please report any problems you come across to the [Lexiconga Issues page](http://lexicon.ga/issues). You can also submit enhancement requests to the same place if you have any requests for new features.
2015-11-08 01:21:06 +01:00
2016-03-10 22:40:15 +01:00
## Update Log
You can see all previous updates to Lexiconga here:
[http://lexicon.ga/updates](http://lexicon.ga/updates)
## Thanks!
2015-12-23 19:05:47 +01:00
If you like Lexiconga and want to buy me a cup of coffee for the service, you can **[donate throughPaypal](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=MCCSYGQCR5TLY&lc=US&item_name=Lexiconga&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)** to help keep it online if you want.
I hope you enjoy Lexiconga and that it helps you build some awesome languages.
Robbie Antenesse