Skip to content

Commit

Permalink
[SCOUT] Fix dev setup
Browse files Browse the repository at this point in the history
Webpack installation was broken, upgrading it fixed it.
  • Loading branch information
Gwildor committed Mar 2, 2024
1 parent c88c5cb commit df80b09
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The docker-compose file creates four containers:

Build and run these images with docker-compose:

`sudo docker compose up --build -d`
`docker compose up --build -d`

The container will have appropriate volume bindings with `./app`.

Expand All @@ -37,7 +37,7 @@ And finally populate the DB with some test data:

Create a new file `.env.local` and insert here the testing `MOLLIE_API_KEY`:

`echo MOLLIE_API_KEY=test_................................. > test`
`echo MOLLIE_API_KEY=test_................................. > .env.local`

The default admin ID is 1, but be wary that each time you run the fixtures, this
ID will be incremented because of auto-increment options in the database.
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"file-loader": "^6.0.0",
"fos-router": "./vendor/friendsofsymfony/jsrouting-bundle/Resources/",
"regenerator-runtime": "^0.13.2",
"webpack-notifier": "^1.6.0"
"webpack-notifier": "^1.6.0",
"webpack": "^4.6.0"
},
"license": "UNLICENSED",
"private": true,
Expand All @@ -19,6 +20,6 @@
"fork-awesome": "^1.2.0",
"jquery": "^3.6.0",
"less": "^4.0.0",
"less-loader": "^11.0.0"
"less-loader": "^12.2.0"
}
}
2 changes: 1 addition & 1 deletion src/DataFixtures/MemberFixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function load(ObjectManager $manager)
$divisionNooderhaaks = new Division();
$divisionNooderhaaks->setName("Noorderhaaks");
$divisionNooderhaaks->setPostCode("1234AB");

$contactNooderhaaks = new Member();
$contactNooderhaaks->setId(1338);
$contactNooderhaaks->setFirstName("Jan");
Expand Down

0 comments on commit df80b09

Please sign in to comment.