Consider Wikimedia Toolforge.org as Lingua Libre hosting services :
- [x] Write down custom tutorial for toolforge.org server connexion and install @Yug
- [ ] Assess technical quality of each service @mickeybarber:
- WMFR
- WMF [Toolforge](https://admin.toolforge.org)
- WMFR [Cloud VPS](https://wikitech.wikimedia.org/wiki/Help:Cloud_VPS)
- [ ] Install .org and app onto chosen server (see, then git clone & install)
IMPORTANT:
= @ knowledgeable Toolforge and CloudVPS users, given our stack cited below, could you assess where our project should go ?
IMPORTANT:
=== Requirements
- [lingua-libre#manually](https://gitlab.wikimedia.org/repos/wikimedia-france/lingua-libre/lingua-libre#manually)
- python: [requirements.txt](https://gitlab.wikimedia.org/repos/wikimedia-france/lingua-libre/lingua-libre/-/blob/main/requirements.txt)
- nodejs: [package.json](https://gitlab.wikimedia.org/repos/wikimedia-france/lingua-libre/lingua-libre/-/blob/main/package.json)
Also:
```bash
# Install git
# Install Python 3.10.x
# Install Node 18+
# Install MariaDB
# Additional tools:
apt install build-essential default-libmysqlclient-dev pkg-config
```
=== Access to toolforge
```
### Wikimedia deployment
Lingua Libre Bot runs on Wikimedia cloud service **[Toolforge.org](https://admin.toolforge.org)**.
Become a maintainer on Tooladmins.wikimedia.org ([Quickstart](https://wikitech.wikimedia.org/wiki/Help:Toolforge/Quickstart)):
* Use your Wikimedia account to [create a Wikimedia developer account](https://toolsadmin.wikimedia.org/register/)
* [Add an SSH public key](https://toolsadmin.wikimedia.org/profile/settings/ssh-keys), you will need it to connect
* [Request Toolforge's membership](https://toolsadmin.wikimedia.org/tools/membership/apply)
* Request [active lingua-libre-bot maintainers](https://toolsadmin.wikimedia.org/tools/id/lingua-libre) for membership
* Please note [your username and link up your accounts](https://toolsadmin.wikimedia.org/profile/settings/accounts/)
Sysadmin the tool via your terminal :
``bash
$ ssh -i <path-to-ssh-private-key> <shell-username>@login.toolforge.org` # now on WM's server
# ssh -i ~/.ssh/id_ed25519 yug@login.toolforge.org # example for User:Yug
$ become lingua-libre # now in tool's directory.
$ exit # return to WM's server
$ exit # return to local computer terminal
``
```
== Helpers
==== [[ https://wikitech.wikimedia.org/wiki/Help:Toolforge/My_first_Django_OAuth_tool#Scale_up_your_database | :mw:Help:Toolforge/My_first_Django_OAuth_tool#Scale_up_your_database ]]
> **Scale up your database**
> So far the tutorial only used sqlite as a database. This is fine for demo applications, but will quickly result in performance or scaling issues with any operations that require reads or writes to the database. It will also strain the Toolforge servers, which is something we also want to avoid. You can use user databases on the tools.db.svc or create your own database server on Cloud VPS.
==== [[ https://wikitech.wikimedia.org/wiki/Help:Cloud_VPS_Instances#Why_create_a_Cloud_VPS_instance? | :mw:Help:Cloud_VPS_Instances#Why_create_a_Cloud_VPS_instance? ]]
> See Help:Cloud Services Introduction to help decide which service is right for you.
==== [[ https://wikitech.wikimedia.org/wiki/Help:Cloud_Services_introduction#Which_service_is_right_for_you? | this comparative table ]].
{F58325553}