Installation - idatt2106-2025-07/wiki GitHub Wiki
⚙️ Installation and Running Guide
Frontend
This section describes how to install and run the frontend solution.
- Git – for cloning the repository
- .env file – must be created manually (see below)
- Node.js - Runtime environment
- npm - package manager
Backend
This section describes how to install and run the backend solution. You can either use Docker or run the project manually using Java and Maven.
📋 Prerequisites
- Git – for cloning the repository
- Docker – for containerized setup
- .env file – must be created manually (see below)
🧭 Clone the Repository
git clone https://github.com/idatt2106-2025-07/krisefikser-frontend.git
cd krisefikser-frontend
Run locally
Make sure all prerequisites are installed and that you're in the project directory. Make sure the backend is running (recommended) check below for instructions on how to do this locally. run
# adds 1.27.0.0.1 dev.krisefikser.localhost to your system hosts
sudo make setup-hosts
then run
npm install
npm run dev
This starts a local development server at dev.krisefikser.localhost:5173
where you can test the application.
🧭 Clone the Repository
git clone https://github.com/idatt2106-2025-07/krisefikser-backend.git
cd krisefikser-backend
📄 Enviromental parameters
To properly run the application you must create a .env file following the structure as the .env-example file. These parameters do not come with this project.
🐳 For use with Docker (recommended)
Make sure docker is running and open a terminal inside project folder (where you left off after cloning step).
docker compose up --build
To stop the application press ctrl+C
docker compose down