Files
Atomcms-edit/docs/INSTALL.md
T
root 1db80e76fe chore: clean up repo structure and polish docs
- Rewrite .gitignore in English with proper patterns for build artifacts, storage files, and IDE files
- Remove tracked build assets (hash-based) and storage files from git
- Update LICENSE copyright to 2026 Remco (Epicnabbo)
- Fix clone URLs in README (remove placeholder gitea-server)
- Sync docs/INSTALL.md with README installation guide
2026-06-06 20:12:08 +02:00

1.6 KiB

AtomCMS — Installation Guide

The README contains a 14-step guide for Ubuntu 26.04. This doc covers post-clone configuration.


Step 1 — Choose your platform

# Linux
cp .env.example.linux .env

# Windows
cp .env.example.windows .env

Step 2 — Generate app key

php artisan key:generate

Step 3 — Edit database settings in .env

DB_DATABASE=habbo
DB_USERNAME=cms          # Linux: create a dedicated DB user
DB_USERNAME=root         # Windows: default MySQL user
DB_PASSWORD=your_secure_password

Step 4 — Set your domain

APP_URL=https://yourhotel.nl
SESSION_DOMAIN=.yourhotel.nl
SANCTUM_STATEFUL_DOMAINS=yourhotel.nl,www.yourhotel.nl
CORS_ALLOWED_ORIGINS=https://yourhotel.nl,https://www.yourhotel.nl

Step 5 — Set to production

APP_ENV=production
APP_DEBUG=false

Step 6 — (Linux only) Configure Redis

sudo apt install redis-server
sudo systemctl enable --now redis-server

Step 7 — Run migrations

php artisan migrate --seed

Step 8 — Build frontend

yarn install && yarn build:all

Step 9 — Set permissions (Linux)

sudo chown -R www-data:www-data storage bootstrap/cache public/build
sudo chmod -R 775 storage bootstrap/cache

Step 10 — Restart PHP-FPM (Linux)

sudo systemctl restart php8.5-fpm

Your hotel is now ready at https://yourhotel.nl.

For a full production setup (Nginx, SSL, firewall, PHP tuning), see the README.