Getting Started
This guide will help you get CloudViPER up and running on your system.
Prerequisites
Before you begin, ensure you have the following installed on your system:
- Docker: Version 20.10 or later
- Docker Compose: Version 2.0 or later
- Git: For cloning the repository
- Sufficient disk space: At least 5GB for containers and data volumes
Note: CloudViPER has been tested on Linux systems. Windows and macOS support may require additional configuration.
Installation
Step 1: Clone the Repository
Clone the CloudViPER repository from GitHub:
git clone https://github.com/openpreserve/CloudViPER-web-app.git
cd CloudViPER-web-app
Step 2: Configure Environment Variables
Create a .env file in the root directory with your configuration:
# Database Configuration
MYSQL_ROOT_PASSWORD=your_secure_password
MYSQL_DATABASE=viper_db_production
MYSQL_USER=viper_user
MYSQL_PASSWORD=your_db_password
# Application Configuration
NODE_ENV=production
SESSION_SECRET=your_session_secret
PORT=3000
Security Warning: Always use strong, unique passwords for production deployments. Never commit your .env file to version control.
Step 3: Launch Services
Use Docker Compose to build and start all services:
docker-compose up -d
This command will:
- Build the application Docker image
- Start the MySQL database container
- Initialize the database schema
- Launch the web application
Step 4: Verify Installation
Check that all containers are running:
docker-compose ps
You should see the following containers in a “Up” state:
viper-web-appviper-mysql
First Login
Once the services are running, access the web interface:
- Open your web browser
- Navigate to
http://localhost:3000 - Log in with the default administrator credentials:
- Username: admin
- Password: (set during initial setup)
Important: Change the default administrator password immediately after first login.
Basic Configuration
User Management
Create additional users through the admin interface:
- Navigate to Admin > User Management
- Click Add New User
- Fill in user details and assign appropriate roles
- Click Create User
Container Monitoring
Enable container monitoring to track system resources:
- Navigate to Settings > Monitoring
- Enable the monitoring service
- Configure refresh intervals and alert thresholds
Next Steps
- Documentation - Explore detailed documentation for advanced features
- Report Issues - Join our community or report issues on GitHub
Troubleshooting
Containers Won’t Start
If containers fail to start, check the logs:
docker-compose logs -f
Cannot Connect to Database
Verify that the MySQL container is running and accessible:
docker-compose exec mysql mysql -u root -p
Port Already in Use
If port 3000 is already in use, modify the port mapping in docker-compose.yml:
ports:
- "8080:3000" # Change 8080 to any available port
Need More Help? Check our full documentation or open an issue on GitHub.
Powered By OPF