vti/elemntary

Development in Linux (Ubuntu 22.04)

Opened this issue · 0 comments

Hi @vti,

In Ubuntu the standard Node package is very old (~12.2), therefore I had this issue:

image

These are the steps I needed to follow to be able to build and run the app:

#updating Ubuntu package lists
sudo apt update 

#install npm 
sudo apt install npm

#install Electron framework
npm install electron --save-dev

#install node globally 
sudo npm install -g n

#update node to the latest version
sudo n stable

#installing yarn [is required]
npm install --global yarn

#cloning the source code 
git clone https://github.com/vti/elemntary.git

cd elemntary

#creates a compressed build file
npm run make

#to create an executable 
npm run package

#execute elemntary
./out/elemntary-linux-x64/elemntary

Include these lines as you like in your README file.