base44 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -1
- package/dist/cli/index.js +5660 -591
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -25,6 +25,10 @@ base44 create
|
|
|
25
25
|
|
|
26
26
|
# 3. Push entities to Base44
|
|
27
27
|
base44 entities push
|
|
28
|
+
|
|
29
|
+
# 4. Build and deploy your site
|
|
30
|
+
npm run build
|
|
31
|
+
base44 site deploy
|
|
28
32
|
```
|
|
29
33
|
|
|
30
34
|
## Commands
|
|
@@ -49,6 +53,12 @@ base44 entities push
|
|
|
49
53
|
|---------|-------------|
|
|
50
54
|
| `base44 entities push` | Push local entity schemas to Base44 |
|
|
51
55
|
|
|
56
|
+
### Site Deployment
|
|
57
|
+
|
|
58
|
+
| Command | Description |
|
|
59
|
+
|---------|-------------|
|
|
60
|
+
| `base44 site deploy` | Deploy built site files to Base44 hosting |
|
|
61
|
+
|
|
52
62
|
## Configuration
|
|
53
63
|
|
|
54
64
|
### Project Configuration
|
|
@@ -61,7 +71,10 @@ Base44 projects are configured via a `config.jsonc` (or `config.json`) file in t
|
|
|
61
71
|
"id": "your-app-id", // Set after project creation
|
|
62
72
|
"name": "My Project",
|
|
63
73
|
"entitiesDir": "./entities", // Default: ./entities
|
|
64
|
-
"functionsDir": "./functions"
|
|
74
|
+
"functionsDir": "./functions", // Default: ./functions
|
|
75
|
+
"site": {
|
|
76
|
+
"outputDirectory": "../dist" // Path to built site files
|
|
77
|
+
}
|
|
65
78
|
}
|
|
66
79
|
```
|
|
67
80
|
|
|
@@ -91,6 +104,7 @@ my-project/
|
|
|
91
104
|
│ │ ├── user.jsonc
|
|
92
105
|
│ │ └── product.jsonc
|
|
93
106
|
├── src/ # Your frontend code
|
|
107
|
+
├── dist/ # Built site files (for deployment)
|
|
94
108
|
└── package.json
|
|
95
109
|
```
|
|
96
110
|
|