PHP Composer requires AtoM's composer.json file which it is missing in distro

63 views
Skip to first unread message

Fabio A. Miranda

unread,
Oct 3, 2022, 1:58:16 PM10/3/22
to ica-ato...@googlegroups.com, jar...@appliedinvestiga.com

Hello:

On Ubuntu 20.x and php 7.2, composer latest version while you are instlling atom following installation guide from documentatio, you come across this:

So, question, where is atom's composer.json ?

Thanks,

fabio.

Jim Adamson

unread,
Oct 4, 2022, 12:15:05 PM10/4/22
to ica-ato...@googlegroups.com, jar...@appliedinvestiga.com
Hi Fabio,

composer.json should be in the AtoM root directory, and from your screenshot you're in that directory. Are you definitely using the GitHub version of AtoM (https://github.com/artefactual/atom), as opposed to the tarball?

As an aside: you're probably already aware that Ubuntu 20.x isn't supported with the current release, 2.6. Future release 2.7 will support Ubuntu 20.04, but with PHP 7.4, not 7.2.

Thanks, Jim

--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/cb1d7093-f943-6a02-42e4-7cb06e6edab0%40gmail.com.


--
Jim Adamson
Systems Administrator/Developer
Facilities Management Systems
IT Services
LFA/023 | Harry Fairhurst building | University of York | Heslington | York | YO10 5DD

Dan Gillean

unread,
Oct 6, 2022, 8:51:36 AM10/6/22
to ica-ato...@googlegroups.com
Hi Fabio, 

Jim's reply is correct: Composer is only required if you are following Option 2 (Check out the code from our Git repository) for your installation. If you are following Option 1 (Download the tarball), you can skip all the steps under Option 2, and jump to the next section, Filesystem permissions

Composer is not included in the downloadable tarball, because the remote dependencies have already been bundled into the tarball itself. 

Cheers, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory
he / him


--
Reply all
Reply to author
Forward
0 new messages