Return-Path: X-Original-To: distix@pieni.net Delivered-To: distix@pieni.net Received: from yaffle.pepperfish.net (yaffle.pepperfish.net [88.99.213.221]) by pieni.net (Postfix) with ESMTPS id 498B8405E8 for ; Wed, 26 Sep 2018 05:24:37 +0000 (UTC) Received: from platypus.pepperfish.net (unknown [10.112.101.20]) by yaffle.pepperfish.net (Postfix) with ESMTP id 333724157E for ; Wed, 26 Sep 2018 06:24:37 +0100 (BST) Received: from ip6-localhost.nat ([::1] helo=platypus.pepperfish.net) by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) id 1g52JR-0005hR-5E; Wed, 26 Sep 2018 06:24:37 +0100 Received: from koom.pieni.net ([88.99.190.206] helo=pieni.net) by platypus.pepperfish.net with esmtpsa (Exim 4.80 #2 (Debian)) id 1g52JQ-0005h8-3h; Wed, 26 Sep 2018 06:24:36 +0100 Received: from exolobe1.liw.fi (62-78-212-250.bb.dnainternet.fi [62.78.212.250]) by pieni.net (Postfix) with ESMTPSA id AE571405E8; Wed, 26 Sep 2018 05:24:35 +0000 (UTC) Received: from exolobe1.liw.fi (localhost [127.0.0.1]) by exolobe1.liw.fi (Postfix) with ESMTPS id E0ED811F7E9; Wed, 26 Sep 2018 08:24:34 +0300 (EEST) Date: Wed, 26 Sep 2018 08:24:33 +0300 From: Lars Wirzenius To: Ivan Dolgov Message-ID: <20180926052433.GA22882@exolobe1.liw.fi> References: <67260cc32c707b79f669928156e391d9d5e0f6c8.camel@dolgov.fi> MIME-Version: 1.0 In-Reply-To: <67260cc32c707b79f669928156e391d9d5e0f6c8.camel@dolgov.fi> User-Agent: Mutt/1.10.1 (2018-07-13) X-Pepperfish-Transaction: 17ff-ddba-fbec-ff1d X-Pepperfish-Transaction-By: platypus Cc: ick-discuss@ick.liw.fi Subject: Re: Npm/node.js installation X-BeenThere: ick-discuss@ick.liw.fi X-Mailman-Version: 2.1.5 Precedence: list List-Id: discussions about the ick CI system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============8073684508350554502==" Mime-version: 1.0 Sender: ick-discuss-bounces@ick.liw.fi Errors-To: ick-discuss-bounces@ick.liw.fi --===============8073684508350554502== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable As background for those not on IRC, Ivan is working on a web application front-end for ick, which will be in the ickui.git repository. As part of that, we're setting up infrastructure to automatically deploy the web app to a server. On Tue, Sep 25, 2018 at 08:11:29PM +0300, Ivan Dolgov wrote: > Looks like Buster comes with Node.js v8, but I'm not sure if its npm is > usable, I've used 9 or 10 for a long time now. If using upstream APT repo= is > not an opiton, I can spend some time testing the older version of npm. Let's use the upstream APT repository for this. > In the ansible playbook I use sane_debian_system role to add the node.js = repo: >=20 > sources_lists: > - repo: "deb https://deb.nodesource.com/node_10.x stretch main" > signing_key: "{{ nodesource_signing_key }}" >=20 > The signing key is here:=20 > https://deb.nodesource.com/gpgkey/nodesource.gpg.key sane_debian_system is part of http://git.qvarnlabs.net/debian-ansible. It's something Ivan and I wrote as co-workers. > Then I just install build-essential and nodejs packages. After that runni= ng > `make install` in ickui repo will install dependencies locally into > ickui/node_packages dir and `make build` will create a static bundle in > ickui/dist. I set up a stretch, added the nodesource repository to the apt configuration. I then had to install apt-transport-https. After that, installing build-essential and nodejs worked, and I've now run "make install" and "make build" successfully. I get this: 11676649 104 -rw-r--r-- 1 root root 104286 Sep 26 08:21 dis= t/main.js 11676650 4 -rw-r--r-- 1 root root 575 Sep 26 08:21 dis= t/index.html I'll set up a CD pipeline to get ick to do these steps manually, and I'll also set up a server where the files will be rsync'd. --=20 I want to build worthwhile things that might last. --joeyh --W/nzBZO5zC0uMSeA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETNTnrewG6wEE1EJ3bC+mFux6IDEFAlurGA4ACgkQbC+mFux6 IDGmGRAAtY93hgIZzL9KFWeAGQuhjXbe9Uny6chDuA6xjaI3JJoX/OW/t690qETd P2q8rWXpgCsaiTroRTl1+IoKEhu2a4aG6YyAeeTtMxDslVBj9D4qJ9XA+fkBPUSp dQDGwnqQzejJKv5JPYVHcP/dQPVJQj9NPsSgMSMbfc2zUaH+qbI3GwkjhtEltU8K fdwF6QX4uNC+ZhA3ZbE5lk5MYvVdPz/p3BjKTN9bYIYHNzURPN3pLqehhOTO9hIe Uk885rsU5yXbeLbJRTiqR9rvZ2dhXMk0VpgvGaeQSN3O55cPTld2bt/IQ1xLs4s7 nwJMTABUhKc7D5cjum+tiYGUhSgv4XBfigZKyxvL0t0wADW1eYtzjII4f8t0XfZT hXphXo4wYgFPWyhrT1HB3+Wcc/vZsfaIMP/ukEpeKN1femLubSDfEW6i5ZXxS/zv 9dcC99bkHDhKQdzSSu8BWYcFg2dVTCbLOXdfyz7F/eRc0SNlqQ3T4yR6/FJkGZf5 em81fULiQ9F+B65RIIEKbZJI5JxERsRl1jFNK0EwNHSGYeMnDEm6do3QEAWltLx4 4R96/60aedJsCuuXpWMQPPKFJxmArbV039hZLaEHqiy91cpzSdn+dF0up7ZprcFW O+Udw1Xqtzcv/Le+e1z8FTx0WMAXi3d7DsFFH7frS4RKEV6cq24= =/jf4 -----END PGP SIGNATURE----- --W/nzBZO5zC0uMSeA-- --===============8073684508350554502== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ick-discuss mailing list ick-discuss@ick.liw.fi https://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/ick-discuss-ick.liw.fi --===============8073684508350554502==--