This is the graphic user interface for CTI4BC (Cyber Threat Intelligence and Information Sharing for Business Continuity).
Follow these steps to set up the project locally:
- Node.js v16.14.0
- npm (included with Node.js)
# Clone the repository
git clone https://github.com/Montimage/cti4bc-gui.git
# Navigate into the project directory
cd cti4bc-gui
# Install dependencies
npm installHow to run the project in development mode:
npm startThis will start a local development server at http://localhost:3000/
Create a .env file in the root directory and define the required variables:
REACT_APP_API_URL=https://your-api-url.com TBD
To build and run the project using Docker:
For general users:
docker build --build-arg REACT_APP_API_URL=https://your-api-url.com -t my-react-app .For Apple Silicon (M1/M2) or multi-platform builds:
docker buildx build --platform linux/amd64 --build-arg REACT_APP_API_URL=https://your-api-url.com -t my-react-app --load .docker run -p 3000:80 --name my-react-container my-react-app