You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create your routes, controllers, views, etc. as you would do for a regular Laravel project — with a few restrictions in mind:
26
-
-TODO
25
+
Create your routes, controllers, views, etc. as you would do for a regular Laravel project — with a few restrictions in mind, because of the static nature of the project:
26
+
-Do not use any querystring
27
27
- TODO
28
28
- ...
29
29
@@ -188,6 +188,10 @@ class DatabaseSeeder extends OzuSeeder
188
188
}
189
189
```
190
190
191
+
### Check the demo project for an example
192
+
193
+
You can refer to the Ozu demo project [dvlpp/ozu-demo](https://github.com/dvlpp/ozu-demo) for an example of a simple project that uses Ozu.
194
+
191
195
## Go for production
192
196
193
197
Once your project is ready, you can deploy it to Ozu.
@@ -230,12 +234,18 @@ This command will create a new collection in Ozu for each of your declared Model
230
234
At this stage, you should be able to see your custom CMS at the address https://ozu.code16.fr/sharp. Here you can manage the content of your collections.
231
235
232
236
> [!NOTE]
233
-
> For now there is no way to seed production data, but it's in the roadmap.
237
+
> Sharp is the underlying content management framework used by Ozu: although you really don’t have to know it to use Ozu, you can [check its website](https://sharp.code16.fr) if you are curious.
238
+
239
+
> [!NOTE]
240
+
> For now there is no way to seed production data, but it’s high in the roadmap.
234
241
235
242
### Deploy your project
236
243
237
-
To deploy your project in the actual production space, you'll need a few more steps:
244
+
Once you have entered your content in the CMS, you can deploy the project as a static website following these steps:
238
245
239
-
- attach you Github repository to your Ozu project
240
-
- Netlify
241
-
- ...
246
+
1. install Ozu Github app + grant read only access to your repository
3. Create a new personal access token in Netlify (https://app.netlify.com/user/applications/personal) with expiration set to "No expiration" and report it in Ozu dashboard
249
+
4. Create Netlify site in Ozu dashboard
250
+
5. (push you latest code in your repo if needed and adapt your content in Ozu CMS)
0 commit comments