File tree Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Original file line number Diff line number Diff line change @@ -29,53 +29,55 @@ First of all, thank you for contributing to MeiliSearch! The goal of this docume
29
29
30
30
## Development Workflow
31
31
32
- ### Using the Docker Environment
32
+ ### Using Composer
33
33
34
34
#### Setup
35
35
36
- To start and build your Docker environment, just execute the next command in a terminal :
36
+ Install the dependencies :
37
37
38
38
``` sh
39
- $ docker-compose up -d
39
+ $ composer install
40
40
```
41
41
42
- Be sure no other MeiliSearch instance is currently running on your machine.
43
-
44
42
#### Tests and Linter
45
43
46
44
Each Pull Request should pass the tests, and the linter to be accepted.
47
45
48
46
``` sh
49
47
# Tests
50
- $ docker-compose exec -e MEILISEARCH_URL=http://meilisearch:7700 php composer test:unit
48
+ $ docker run -p 7700:7700 getmeili/meilisearch:latest ./meilisearch --master-key=masterKey --no-analytics
49
+ $ composer test:unit
51
50
# Linter
52
- $ docker-compose exec php composer lint:check
51
+ $ composer lint:check
53
52
# Linter (with auto-fix)
54
- $ docker-compose exec php composer lint:fix
53
+ $ composer lint:check
55
54
```
56
55
57
- ### Using Composer
56
+ ### Using the Docker Environment
57
+
58
+ These commands do not work on MacOS, see [ this issue] ( https://github.com/meilisearch/meilisearch-symfony/ ) .
58
59
59
60
#### Setup
60
61
61
- Install the dependencies :
62
+ To start and build your Docker environment, just execute the next command in a terminal :
62
63
63
64
``` sh
64
- $ composer install
65
+ $ docker-compose up -d
65
66
```
66
67
68
+ Be sure no other MeiliSearch instance is currently running on your machine.
69
+
67
70
#### Tests and Linter
68
71
69
72
Each Pull Request should pass the tests, and the linter to be accepted.
70
73
71
74
``` sh
72
75
# Tests
73
- $ docker run -p 7700:7700 getmeili/meilisearch:latest ./meilisearch --master-key=masterKey --no-analytics
74
- $ composer test:unit
76
+ $ docker-compose exec -e MEILISEARCH_URL=http://meilisearch:7700 php composer test:unit
75
77
# Linter
76
- $ composer lint:check
78
+ $ docker-compose exec php composer lint:check
77
79
# Linter (with auto-fix)
78
- $ composer lint:check
80
+ $ docker-compose exec php composer lint:fix
79
81
```
80
82
81
83
### Release Process
You can’t perform that action at this time.
0 commit comments