Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 19, 2024 09:26 am GMT

WIP: Node development on iPhone

this is just a dump of my commands and findings. It is not stable yet, still finding out things... keep you posted

Why even want this?

Just for fun, because I can. Practise with shell, if you have shell, you can do everything (except browsing the web for pages that use javascript).

How (basics)

install ish from app store
uname -a
where are the logs
is it persistant?

Alpine Package Keeper (apk)

apk add git
apk search nodejs-current

Editor: neovim

echo https://dl-cdn.alpinelinux.org/alpine/edge/main > /etc/apk/repositoriesecho https://dl-cdn.alpinelinux.org/alpine/edge/community >> /etc/apk/repositoriesapk updateapk upgradeapk add neovim

source

Usage

not all commands work: vsplit etc, keeps on crashing

nvim
escape key: ctrl-c
basic noevim commands

Node

latest is v14, v16 is there as 'current'
See https://dl-cdn.alpinelinux.org/alpine/ for latest or specific version

vi /etc/apk/repositories

add:
https://dl-cdn.alpinelinux.org/alpine/latests-stable/main
https://dl-cdn.alpinelinux.org/alpine/latest-stable/community

apk upgrade

// need specific version because npm has newer versions

apk add node npm

SSH

Sources


Original Link: https://dev.to/rkristelijn/node-development-on-iphone-3b5h

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To