After cloning the repository, ensure the run.sh script has executable permissions:
chmod +x run.shRun
./start.shUpon starting the services, three default accounts will be created for you:
admin:secret
admin2:secret
admin3:secret
These accounts can be used to explore the application's features without the need for initial setup.
To get started, simply run
docker-compose upThis command will:
-
Build two Docker images:
- frontend: A lightweight image for the frontend application.
- backend: A lightweight image for the backend server.
-
After building, the services will start and be accessible at:
- frontend: localhost:5000
- backend: localhost:80
- Navigate to the frontend directory:
cd frontend- Install the necessary npm packages:
npm install- Start the frontend development server:
npm run dev- Navigate to the backend directory:
cd backend- Start the backend server:
go run .With both services running, you can access the frontend at localhost:5000 and the backend at localhost:80.