Skip to content

Commit f1d4e5f

Browse files
authored
Merge pull request #639 from PAWECOGmbH/development
dev to staging
2 parents 8a40774 + c0bcdf3 commit f1d4e5f

File tree

6 files changed

+17
-36
lines changed

6 files changed

+17
-36
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ config.cfm
1212
www/logs
1313
.history
1414

15-
### NGINX custom file ###
16-
config/nginx/custom.conf
15+
### NGINX files ###
16+
config/nginx

compose-dev.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ services:
1212
volumes:
1313
- ./www:/var/www
1414
- ./config/nginx/conf.d:/etc/nginx/conf.d
15+
- ./config/nginx/custom.conf:/etc/nginx/custom.conf
1516
- userdata_volume:/var/www/userdata
1617
networks:
1718
- saaster_net

compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ services:
1212
volumes:
1313
- ./www:/var/www
1414
- ./config/nginx/conf.d:/etc/nginx/conf.d
15+
- ./config/nginx/custom.conf:/etc/nginx/custom.conf
1516
- userdata_volume:/var/www/userdata
1617
networks:
1718
- npm_network
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ server {
3636
}
3737

3838
location @lucee {
39+
3940
proxy_pass http://tomcat_backend;
4041
proxy_set_header Host $host;
4142
proxy_set_header X-Real-IP $remote_addr;
4243
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
4344
proxy_set_header X-Forwarded-Proto $scheme;
44-
}
4545

46-
include /nginx/custom.conf;
46+
}
4747

4848
}

config/example.custom.conf

Lines changed: 0 additions & 16 deletions
This file was deleted.

readme.md

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,12 @@ mv config/example.env .env
4242
```
4343
Update the ```.env``` file with your configuration. You can also adopt the suggestions for the local environment.<br><br>
4444

45+
<b>5. Copy the NGINX base settings</b><br>
46+
```
47+
mv config/example.base.conf config/nginx/base.conf
48+
```
4549

46-
<b>5. Set up the application configuration</b><br>
50+
<b>6. Set up the application configuration</b><br>
4751
Copy the example configuration file and make any necessary changes:
4852
```
4953
mv config/example.config_dev.cfm www/config.cfm
@@ -54,24 +58,24 @@ Note: If you change the ```config.cfm``` file after the first start of the appli
5458

5559
<br>
5660

57-
<b>6. Start the containers</b><br>
61+
<b>7. Start the containers</b><br>
5862
Use Docker Compose to start the development environment:
5963
```
6064
docker compose -f compose-dev.yml up
6165
```
6266

63-
<b>7. Configure Lucee</b><br>
67+
<b>8. Configure Lucee</b><br>
6468
Access the Lucee admin interface:
6569

6670
+ <b>URL:</b> ```http://localhost:8080/lucee/admin/server.cfm```
6771
+ <b>Steps:</b>
68-
+ Set up the database connection (<b>important:</b> Make sure to enable 'Allow Multiple Queries.')
72+
+ Set up the database connection (<b>important:</b> Make sure to enable 'Allow Multiple Queries.')
6973
+ Configure SMTP (you can use Inbucket for local email handling).
7074
+ Adjust any additional settings required for your development setup.
71-
75+
7276
<br>
7377

74-
<b>8. Set up Saaster</b><br>
78+
<b>9. Set up Saaster</b><br>
7579
Run the setup script to initialize Saaster:
7680

7781
+ <b>URL:</b> ```http://localhost:8080/setup/index.cfm```
@@ -147,7 +151,7 @@ We welcome contributions from developers to help improve Saaster. Whether it's f
147151
Implement your changes and commit them with a clear and concise commit message:<br>
148152
```git add .```<br>
149153
```git commit -m "Add feature description"```
150-
154+
151155
5. <b>Push your branch</b><br>
152156
Push your branch to your forked repository:<br>
153157
```git push origin feature/your-feature-name```
@@ -177,12 +181,3 @@ For more information or if you're unsure about something, feel free to open an i
177181
- [taffy](https://github.com/atuttle/Taffy)
178182

179183

180-
181-
182-
183-
184-
185-
186-
187-
188-

0 commit comments

Comments
 (0)