Skip to content

ExecuteVueAppOnLinux

Oren Mishali edited this page Apr 2, 2020 · 4 revisions

Install and Execute a Vue.JS App on Linux

  • Install/Update node and npm (make sure you have the latest versions).
  • Install Vue CLI
sudo npm install -g @vue/cli
  • Install http-server (for serving the vue app)
sudo npm install http-server -g
  • Now clone the project, install dependencies, build and run the server.
git clone https://github.com/TechnionTDK/tanach-explorer-frontend.git
cd tanach-explorer-frontend
npm install # install dependencies
npm run build # build app to dist/ directory
screen
http-server dist/ # defaults to 8080, to change use e.g. sudo http-server -p 80 dist/ (sudo for non user ports)

Clone this wiki locally