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
5. db init: `php bin/console doctrine:database:create` & `doctrine:schema:create` & `doctrine:fixtures:load`
137
137
* it creates the physical database from the `config/packages/doctrine.yaml` file
@@ -142,15 +142,16 @@ For [Angular](https://angular.io/) (v5), i decided to do quite different way:
142
142
2. Run `npm run jwt-init` and use the passphrase you setup for JWT_PASSPHRASE
143
143
* Run your application with php built-in server:
144
144
1. Change to the project directory
145
-
2. Execute the `npm run dev-server-hot` (or dev-server-hot:win for windows system) command to start the asset server that will build your assets and your manifest.json and serve the assets with hot module replacment when you do a modification on a vuejs file
146
-
3. Execute the `npm run sf-dev` (or sf-dev:win for windows system) command;
147
-
4. Browse to the http://localhost:80/ URL.
145
+
2. Execute the `npm run build` that will build assets and watch for angular app change
146
+
3. Execute the `npm run dev-server-hot` (or dev-server-hot:win for windows system) command to start the asset server that will build your assets for vue and react and your manifest.json and serve the assets with hot module replacement when you do a modification on a vuejs file
147
+
4. Execute the `npm run sf-dev` (or sf-dev:win for windows system) command;
148
+
5. Browse to the http://localhost:80/ URL.
148
149
149
150
* Run composer require symfony/web-server-bundle for a better web server.
150
151
* Quit the server with CTRL-C.
151
152
* And launch `php bin/console server:start 127.0.0.1:80`
152
153
153
-
5. Run frontend tests with `npm run test`
154
+
6. Run frontend tests with `npm run test`
154
155
155
156
Don't forget to prefer an nginx/apache server to be able to use full features of api-platform.
0 commit comments