Logo Font: Matamata @ dafont.com
For information and official Interlock Documentation go to: BR Consulting S.R.L. Documentation - Interlock
- Install the following dependencies, for more info see Installing Node.js via package manager.
apt-get install git nodejs nginx- Clone the repository: git clone https://github.com/dblanque/interlock-frontend /var/lib/interlock/interlock-frontend/
- Change Directory onto the cloned repository
cd /var/lib/interlock/interlock_frontend/
npm install- Once the required dependencies are installed you'll need to modify your local settings to match your back-end IP/Port:
# On the Dev Server Version
nano ./public/config/local.json
# On the Compiled Version
nano ./dist/config/local.jsonWORK_PATH="/var/lib/interlock"
FRONTEND_PATH="/var/lib/interlock/interlock_frontend"
apt-get update -y
# Install curl and fetch required script.
apt-get install git curl -y
curl -sL https://deb.nodesource.com/setup_18.x -o "$WORK_PATH/nodesource_setup.sh"
# Add nodesource repo
bash "$WORK_PATH/nodesource_setup.sh"
# Install NodeJS
apt-get update -y
apt-get install nodejs -y
git clone https://github.com/dblanque/interlock_frontend $FRONTEND_PATH
cd $FRONTEND_PATH
npm installnpm run dev
npm run build
npm run lint
- Why does the front-end use Vue 2 / Vuetify 2, isn't it EOL?
Yes, Vue 2 is EOL but due to the scope of the project and the fact that only one person is working on it actively, it was decided a functional product is more important than boasting the newest framework and technologies. It is also a robust and proven framework in spite of being EOL, and validation is/should be done by the back-end anyways.
- Will it ever be upgraded/updated to Vue >= 3?
If the project gains traction and support to justify the time investment, it's within plans to either upgrade the current Front-end to Vue 3 with the corresponding Vuetify version, or create a newer Front-end altogether in Vue 3 with the Quasar Framework.
Interlock Copyright (C) 2022-2024 | Dylan Blanqué, BR Consulting S.R.L.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://fsf.org/.
This program comes with ABSOLUTELY NO WARRANTY.