Essentially, langue.link is meant to be a repository for linguistic informations. It works just like npm or some.
langue.link is composed of:
- Namespace registry
- Static document oriented database for data permanence
- Public endpoint for the Langue P2P network
- Some social stuff (auths, follows, timelines, etc)
- Web UI
Currently under heavy development and not yet launching. This repository is likely to be squashed periodically. We need your opinion about the project.
This note targets to Unix environments now. If you're using Windows join discussion on gitter and help write tips for developers who use Windows.
Make these commands available on your environment.
docker-composeopenssl
And make sure you're not using these ports before starting development.
53/tcp53/udp8044380028081
After git clone the repo, you'd better check these points:
- Generate
./docker/haproxy/cert/langue.link.pemon your local; simply runyarn generate:cert. - Add
127.0.0.1(Dnsmasq) to top of your DNS server list e.g./etc/hosts. This allows you to access the local testing server with the domain namelangue.linkneatly on your browser while development. If not working, try clearing DNS caches on your machine. ./secret/*, files including API keys needed for logging in with external services such as GitHub, is encrypted by git-crypt. If you're going to test such part, please tell me on gitter and I will send you the symmetric key file which decrypts them.
watchstarts development servers/containers up.clear:dbdeletes all the datastores located under./docker/mongo/db.generate:certcreates a self-signed certificate into./docker/haproxy/cert. If already exists it'll be overwritten.
Don't forget to stop docker containers by docker-compose down when you take a break from development.
Commands with a name starting with a dot should not, or, need not be run by hand.
- Write:
- Introduction
- Terms of Service
- Privacy Policy