Hello everyone and thank you for this great work.
I am working on packaging ojs for yunohost .
I managed to get everything working except the first user creation. So my question is : is there a way to create the first user from cli? If not, I was thinking pushing it directly to the database from cli.
Thanks for your help
Hi @DeMiro5001,
Would you mind noting what version you’re using (e.g. 3.3.0-19), please? Please include this information when posting on the forum.
-Roger
PKP Team
Thanks for the reply.
I am using the latest version, 3.4.0-7. I know it’s not the lts version but yunohost has an autoupdate.strategy workflow that will check for the latest tags on the git repo and proposes a pull request for testing. I could have used 3.3.0-19 and ignored the PR for next version. But since I am still working on it, things may change.
If you judge it’s better to use the lts version then I will switch of auto update
Hi @DeMiro5001,
Thanks for clarifying. I’m not sure about auto updating in this manner, but I’ll see if one of our team members can speak to this when they are available.
-Roger
PKP Team
Thanks for the reply.
My main purpose is to add the admin credentials to ojs from the bash script. All the variables of the install interface are defined in the script.
May be you’re not familiar with yunohost, it’s a debian based distro aimed to make it easy to deploy apps. It takes care of php, nginx, node, etc… Domains, certificates, database … Apps are installed using a form where the user chooses the domain, path, admin, password, etc… depending on the app. This is where the packager needs to write the install script that fits to the app. This facilitates installation process for users. If you have any questions please let me know