lucasdiedrich / ojs

Open Journal Systems (OJS) is a journal management and publishing system.
GNU General Public License v3.0
19 stars 64 forks source link

Testing latest branch #22

Open marcbria opened 5 years ago

marcbria commented 5 years ago

Hi @lucasdiedrich

First, thanks a lot for your time and work and sorry if I'm slow with the feedback or trying to understand how all it works. Beginnings are hard, so please, be patient because we are close to got the "machine greased" ;-)

Today I got time to work on this. Let me say that PKP team is really interested in this work and they like somebody outside their core is taking the lead on this. They usually have their hands full, but we can get full support if we need it.

So... let's work:

Following your request in #14 I ignore the "tags version" (although is something to talk in future, don't we?) and I started testing the "php7-test" branch.

To make it run I just made the following:

$ git clone https://github.com/lucasdiedrich/ojs.git
$ cd ojs
$ git fetch
$ git checkout php7-test
$ docker-compose up 

Good news are that now you get a full functional and pre-installed OJS 3.1.1-4 in your 8085 port. Bad news we have a few inconsistencies to be addressed (OJS 3.1.1.4, php5, variables ...).

PR with those changes here: https://github.com/lucasdiedrich/ojs/pull/23

About the rest...

I have doubts about some points. I will open a different issue for each case (with a PR) so we can discuss them separately and you can accept refuse the PR, but in short:

If is ok for you I will close former discussions to keep the issue tracker clean.

Thanks again for your time, m.

marcbria commented 5 years ago

The patched docker-compose (#23) with "php7-test" image works fine, except for a little detail.

First time you go to the journal, you get the install page (that is not supposed to be there because of OJS_CLI_INSTALL is set to 1... but the funny part is this info is ignored (ie: "admin" pwd is the default one). Unsure about why it happens. :-(

As said, I tested in deep but apart of this detail, you get a full functional OJS 3.1.2 with php 7.2.14 that works like a charm.

Great work @lucasdiedrich, thanks!

PS to @Potomac54: file is included in php7-test image.

lucasdiedrich commented 5 years ago

s again for your tim

Thanks for your patch, and yes please, open the issues so we can discuss about the new fixes and improvements.

About the OJS_CLI_INSTALL not working over 3.1.2 it should be because one or more environment variables are wrong, we can manually call de ojs-cli-install manually to check that.

About the files directories, inside this project will only have one folder, which is the files used by the container. The problem that we're having is that the docker-compose its in the root of the project, and we by mistake can think that we need that folder. That's why once i sugested to move the docker-compose inside another folder called examples.

When i said to forget the tags version it was because we needed an example version so i can upgrade the tags version now. Which i can maybe do today, at least de 3.1.1.4 version.

Thanks for all you help @marcbria