No description
Update doctor brochure to cover medical cannabis overview Update patient organization brochure to explain support request Update politician brochure to outline policy requirements Update all metadata summaries to reflect new content focus |
||
|---|---|---|
| content | ||
| custom | ||
| .gitignore | ||
| apache.conf | ||
| compose.yaml | ||
| README.md | ||
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/
Required Symlinks
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
.htaccessfile incontent/routes all requests throughindex.php - Static
/app/requests are handled byapp/static.php