Skip to content

Commit c460601

Browse files
Alek PetuskeyAlek Petuskey
authored andcommitted
Fix comments
1 parent b321b7e commit c460601

File tree

5 files changed

+37
-4
lines changed

5 files changed

+37
-4
lines changed

docs/hosting/config_file.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
```python exec
2+
import reflex as rx
3+
from reflex_image_zoom import image_zoom
4+
from pcweb.pages.docs import hosting
5+
from pcweb.pages import docs
6+
from pcweb.styles.styles import get_code_style, cell_style
7+
8+
```
9+
## Config File
10+
11+
To create a `config.yml` file for your app run the command below:
12+
13+
```bash
14+
reflex cloud config
15+
```
16+
17+
This will create a yaml file similar to the one below where you can edit the app configuration:
18+
19+
```yaml
20+
name: medo
21+
description: ''
22+
regions:
23+
sjc: 1
24+
lhr: 2
25+
vmtype: c1m1
26+
hostname: null
27+
envfile: .env
28+
project: null
29+
packages:
30+
- procps
31+
```
32+

docs/hosting/deploy-quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ If you go back to the Cloud UI you should be able to see your deployed app and o
7272

7373
```md alert info
7474
# Setup a Cloud Config File
75-
To create a `config.yml` file for your app to set your app configuration check out the [Cloud Config Docs]({docs.hosting.app_management.path}).
75+
To create a `config.yml` file for your app to set your app configuration check out the [Cloud Config Docs]({docs.hosting.config_file.path}).
7676
```
7777

7878
```md alert info

pcweb/components/docpage/sidebar/sidebar_items/learn.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ def get_sidebar_items_hosting():
221221
hosting.logs,
222222
hosting.secrets_environment_vars,
223223
hosting.custom_domains,
224+
hosting.config_file,
224225
hosting.tokens,
225226
hosting.deploy_with_github_actions,
226227
],

pcweb/pages/pricing/table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
]
4141

4242
REFLEX_BRANDING_SECTION = [
43-
("Remove Branding", "", "Cloud", "Everywhere *", "Everywhere *"),
43+
("Remove Branding", "", "On Cloud", "Everywhere*", "Everywhere*"),
4444
]
4545

4646
REFLEX_AI_SECTION = []

pcweb/whitelist.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
# - Correct: WHITELISTED_PAGES = ["/docs/getting-started/introduction"]
1010
# - Incorrect: WHITELISTED_PAGES = ["/docs/getting-started/introduction/"]
1111

12-
WHITELISTED_PAGES = ["/pricing", "/docs/hosting"]
13-
12+
WHITELISTED_PAGES = []
1413

14+
1515
def _check_whitelisted_path(path):
1616
if len(WHITELISTED_PAGES) == 0:
1717
return True

0 commit comments

Comments
 (0)