Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.15 KB

README.md

File metadata and controls

36 lines (22 loc) · 1.15 KB

Description

This is the bare minimum template project to easily get up and running with ScadaJS.

Live Demo

See this project live on https://aktos.io/st.

Development

1. Clone this repo and install its dependencies

Windows users: Follow these instructions first.

  1. Open a terminal window (Windows users: right click, click "Open MSYS2 here")
  2. git clone --recursive https://github.com/aktos-io/scadajs-template
  3. cd scadajs-template
  4. Create a virtual environment: make create-virtual-env
  5. make install-deps

2. Build

  1. make development will start necessary services.
  2. Go to http://localhost:4011
  3. Use your favourite text editor for editing files. Use Ctrl+b, n and Ctrl+b, p to navigate between Tmux tabs.

3. Prepare your database

This is optional (or you can do it later). See: prepare-database.md.

4. Release

  1. make release.
  2. Run: ./production.service (look into the script, it's self documentary)
  3. Go to http://localhost:4011