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
@@ -73,6 +75,11 @@ php -S localhost:8000 -t public
73
75
Build the project on your local machine or [download prebuild release](https://flexform.nyc3.cdn.digitaloceanspaces.com/flexform-server-latest.zip).
74
76
Upload the files to your shared hosting.
75
77
Make sure you make "public" folder as your main folder.
78
+
Run database migrations:
79
+
```bash
80
+
php bin/console doctrine:migrations:generate
81
+
php bin/console doctrine:migrations:migrate
82
+
```
76
83
77
84
## Deploying on cloud hosting
78
85
You can deploy FlexForm on any cloud hosting provider that supports PHP 8.2 or higher.
@@ -87,6 +94,12 @@ You can see an example of environment variables in the [.env.prod](.env.prod) fi
87
94
88
95
**Please make sure you made /app/var as persistent storage if you use SQLite. If you want to use other database please change DATABASE_URL env variable.**
89
96
97
+
Run database migrations:
98
+
```bash
99
+
php bin/console doctrine:migrations:generate
100
+
php bin/console doctrine:migrations:migrate
101
+
```
102
+
90
103
## Deploy instructions
91
104
-[Installing FlexForm on DigitalOcean Apps](https://medium.com/@ashelestov/installing-flexform-on-digitalocean-apps-b3e5b1ba868a)
0 commit comments