Skip to content
This repository has been archived by the owner on Dec 15, 2019. It is now read-only.

Latest commit

 

History

History
63 lines (45 loc) · 1.91 KB

linux.md

File metadata and controls

63 lines (45 loc) · 1.91 KB

Installing on Linux

Vue Cloudfront is based on open source technologies which should in theory work perfectly well on most of the leading operating systems. However, I develop the project using Windows machines.

Requirements

  1. Install LTS version of Node.js for Linux.
  2. Install MongoDB for Linux.
  3. Install Redis server for Linux and start the server.
  4. You can download Github Desktop to get access not only for fancy UI but for git toolset itself.

Installation of vue-cloudfront-api

  1. Open bash with Git access or use Github desktop
  2. Clone the vue-cloudfront-api project:
git clone https://github.com/ovanta/vue-cloudfront-api
  1. Go to vue-cloudfront-api and install dependencies:
cd vue-cloudfront-api
npm install
  1. Run vue-cloudfront-api:
npm run dev

Installation of vue-cloudfront

  1. Open your cmdline of choice with Git access or use Github desktop
  2. Clone the vue-cloudfront project:
git clone https://github.com/DivanteLtd/vue-cloudfront.git
  1. Go to vue-cloudfront directory and install dependencies:
cd vue-cloudfront
npm install
  1. Configure vue-cloudfront
    Since nginx is not used during development there are two properties which need to be changed in config.json:
"apiEndPoint": "http://localhost:8080/api",
"websocketEndPoint": "ws://localhost:8080/ws"
  1. Run Vue Cloudfront Server:
npm run dev

Now you should have Vue Cloudfront running on localhost:3000.