76 lines
1.6 KiB
Markdown
76 lines
1.6 KiB
Markdown
# railwayka.ru Landing Page
|
|
|
|
Business card website for railwayka.ru infrastructure, deployed via [dcape](https://github.com/dopos/dcape) GitOps platform.
|
|
|
|
## Features
|
|
|
|
- Modern dark theme with animated stars background
|
|
- Service cards showcasing current and planned services
|
|
- Technology stack descriptions
|
|
- GitOps workflow visualization
|
|
- Konami code easter egg
|
|
- Responsive design
|
|
|
|
## Technology Stack
|
|
|
|
- **Nginx**: Alpine-based web server
|
|
- **Docker**: Containerized deployment
|
|
- **Traefik**: Automatic HTTPS via Let's Encrypt
|
|
- **Dcape**: GitOps-based deployment
|
|
|
|
## Deployment
|
|
|
|
This application uses GitOps workflow:
|
|
|
|
1. Push code to Git repository
|
|
2. Woodpecker CI automatically triggers
|
|
3. Application builds and deploys
|
|
4. Service goes live at https://railwayka.ru
|
|
|
|
### Manual Deployment
|
|
|
|
```bash
|
|
# Clone repository
|
|
git clone https://git.dc.railwayka.ru/howl/railwayka-landing.git
|
|
cd railwayka-landing
|
|
|
|
# Configure environment
|
|
make config
|
|
# Edit .env.sample and rename to .env
|
|
mv .env.sample .env
|
|
|
|
# Build and deploy
|
|
make docker-build
|
|
make up
|
|
```
|
|
|
|
## Local Development
|
|
|
|
To run locally:
|
|
|
|
```bash
|
|
# Serve files with any web server
|
|
cd html
|
|
python3 -m http.server 8000
|
|
# Visit http://localhost:8000
|
|
```
|
|
|
|
## Structure
|
|
|
|
```
|
|
.
|
|
├── Makefile # Dcape app Makefile
|
|
├── docker-compose.yml # Service definition
|
|
├── Dockerfile # Custom nginx image
|
|
├── .woodpecker.yml # CI/CD pipeline
|
|
├── html/ # Static website files
|
|
│ ├── index.html
|
|
│ ├── style.css
|
|
│ └── script.js
|
|
└── README.md
|
|
```
|
|
|
|
## License
|
|
|
|
MIT
|