No description
Find a file
Ruben 0e9a488f10 Add about section and improve CTA styling
Update CTA section text and styling Move about section to top of page
Remove duplicate about section Adjust spacing and margins for better
layout
2025-10-21 21:42:29 +02:00
content Add about section and improve CTA styling 2025-10-21 21:42:29 +02:00
custom Add about section and improve CTA styling 2025-10-21 21:42:29 +02:00
.gitignore Nytt innhold 2025-10-05 20:19:56 +00:00
apache.conf Initial commit 2025-10-02 17:01:55 +02:00
compose.yaml Initial commit 2025-10-02 17:01:55 +02:00
README.md Add README with deployment and development structure 2025-10-02 18:48:34 +02:00

Stopplidelsen.no - Deployment Setup

Local Development Structure

stopplidelsen.no/
├── app/           # Application router and logic
├── content/       # Content files (from innhold repo)
└── custom/        # Custom templates and styles (from innhold repo)

Server Deployment Structure

The production server uses symlinks to separate the app code from content, allowing two independent git repositories:

/home/rubensol/dev.stopplidelsen.no/
├── folderweb/           # App repository
│   ├── app/
│   └── custom/          # Symlink → ../innhold/custom/
└── innhold/             # Content repository (document root: innhold/content)
    ├── content/
    ├── custom/
    └── app/             # Symlink → ../folderweb/app/

In /innhold/ directory:

cd /home/rubensol/dev.stopplidelsen.no/innhold/
ln -s ../folderweb/app app

In /folderweb/ directory:

cd /home/rubensol/dev.stopplidelsen.no/folderweb/
ln -s ../innhold/custom custom

Web Server Configuration

  • Document Root: /home/rubensol/dev.stopplidelsen.no/innhold/content
  • The .htaccess file in content/ routes all requests through index.php
  • Static /app/ requests are handled by app/static.php