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
Copy file name to clipboardExpand all lines: README.md
+4-3
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ These steps are provided for development purposes only.
19
19
### Requirements
20
20
21
21
-**PHP** for the web app
22
-
-**NPM** for the frontend build
22
+
-**NPM**(or Docker) for the frontend build
23
23
-**[Symfony CLI](https://symfony.com/download)** to run the web server
24
24
-**MySQL** (or Docker) for the main data store
25
25
-**Redis** (or Docker) for some functionality (favorites, download statistics)
@@ -39,8 +39,9 @@ These steps are provided for development purposes only.
39
39
```
40
40
4. Start MySQL & Redis:
41
41
```bash
42
-
docker compose up -d # or somehow run MySQL & Redis on localhost without docker
42
+
docker compose up -d # or somehow run MySQL & Redis on localhost without Docker
43
43
```
44
+
This mounts the current working directory into the node container and runs npm install and npm run build automatically.
44
45
5. Create 2 databases:
45
46
-`packagist` - for the web app
46
47
-`packagist_test` - for running the tests
@@ -53,7 +54,7 @@ These steps are provided for development purposes only.
53
54
bin/console doctrine:schema:create
54
55
```
55
56
7. Run a CRON job `bin/console packagist:run-workers` to make sure packages update.
56
-
8. Run `npm run build` or `npm run dev` to build (or build&watch) css/js files.
57
+
8. Run `npm run build` or `npm run dev` to build (or build&watch) css/js files. When using Docker run `docker compose run node npm run dev` to watch css/js files.
57
58
58
59
You should now be able to access the site, create a user, etc.
0 commit comments