Hexora Platform
A modern Web3 collaboration platform built with Next.js, featuring multilingual support (Arabic/English) and beautiful light/dark themes.
🚀 Quick Start
Development
npm install
npm run dev
Production Build
npm run build
npm start
🐳 Docker Deployment
Option 1: Static Export (Recommended)
# Build the Docker image
npm run docker:build
# Run the container
npm run docker:run
# View logs
npm run docker:logs
# Stop the container
npm run docker:stop
Option 2: Using Docker Compose
# Start the application
docker-compose up -d
# View logs
docker-compose logs -f
# Stop the application
docker-compose down
Option 3: Manual Docker Commands
# Build the image
docker build -t hexora-app:latest .
# Run the container
docker run -d -p 3000:3000 --name hexora-container hexora-app:latest
# Check container status
docker ps
# View application logs
docker logs hexora-container
# Stop and remove container
docker stop hexora-container
docker rm hexora-container
Option 4: Standalone Next.js Server
If you prefer using Next.js server instead of static hosting:
# Use the standalone Dockerfile
docker build -f Dockerfile.standalone -t hexora-app:standalone .
docker run -d -p 3000:3000 --name hexora-standalone hexora-app:standalone
🌐 Access the Application
Once running, visit:
- Local Development: http://localhost:3000
- Docker Container: http://localhost:3000
📋 Docker Scripts
The project includes convenient scripts in the scripts/ directory:
scripts/docker-build.sh- Interactive build scriptscripts/docker-run.sh- Interactive run script
Make them executable: