ember-tribe 2.6.5 → 2.6.6
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 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -970,6 +970,21 @@ async uploadFile(file) {
|
|
|
970
970
|
|
|
971
971
|
---
|
|
972
972
|
|
|
973
|
+
## Deploying to Junction (Self-Hosted)
|
|
974
|
+
|
|
975
|
+
After building your Ember app, run `php-dist` to prepare the `dist/` folder for PHP middleware:
|
|
976
|
+
|
|
977
|
+
```bash
|
|
978
|
+
ember build -prod
|
|
979
|
+
node php-dist
|
|
980
|
+
```
|
|
981
|
+
|
|
982
|
+
This reads `dist/index.html`, injects PHP includes (`_init.php`, `_head.php`, `_head_footer.php`, `_body_footer.php`), strips `<title>` and `<meta name="description">`, and writes `dist/index.php`.
|
|
983
|
+
|
|
984
|
+
You can then upload the `dist/` folder to [Junction (open source)](http://localhost:12002) and view your app at **http://localhost:12004**.
|
|
985
|
+
|
|
986
|
+
---
|
|
987
|
+
|
|
973
988
|
## Best Practices
|
|
974
989
|
|
|
975
990
|
1. **Module Access**: Remember to use `modules.field_name` for backend fields
|