8000 Updated Hiker installation documentation · whitecube/laravel-preset@a1ecc31 · GitHub
[go: up one dir, main page]

Skip to content

Commit a1ecc31

Browse files
committed
Updated Hiker installation documentation
1 parent 6a9d5d0 commit a1ecc31

File tree

1 file changed

+9
-36
lines changed

1 file changed

+9
-36
lines changed

README.md

Lines changed: 9 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -38,50 +38,23 @@ Everything you'd expect should be there, and you can get to work right away.
3838

3939
After doing the above commands, do the following:
4040

41-
1. In `composer.json`, add the hiker and trail repositories:
41+
1. Add the Hiker repository to the `composer.json` file:
4242

43-
```json
44-
{
45-
"repositories": {
46-
"hiker": {
47-
"type": "vcs",
48-
"url": "https://github.com/whitecube/hiker.git"
49-
},
50-
"trail": {
51-
"type": "vcs",
52-
"url": "https://github.com/whitecube/trail.git"
53-
}
54-
}
55-
}
43+
```shellsession
44+
composer config repositories.hiker composer https://repo.hiker.dev
5645
```
5746

58-
2. Create a `composer.local.json` file containing:
47+
2. The, run the following terminal commands:
5948

60-
```json
61-
{
62-
"repositories": {
63-
"hiker": {
64-
"type": "path",
65-
"url": "../hiker/",
66-
"options": {
67-
"symlink": true
68-
}
69-
},
70-
"trail": {
71-
"type": "path",
72-
"url": "../trail/",
73-
"options": {
74-
"symlink": true
75-
}
76-
}
77-
}
78-
}
49+
```shellsession
50+
composer require hiker-dev/hiker
7951
```
8052

81-
3. Run the following terminal commands in the project's folder
53+
3. When prompted, add your Hiker.dev user & license. You can store these credentials in a `auth.json`, but don't forget to add this file to the project's `.gitignore`!
54+
55+
4. Finally, run Hiker's installation command:
8256

8357
```shellsession
84-
composer require whitecube/hiker
8558
php artisan hiker:install
8659
```
8760

0 commit comments

Comments
 (0)
0