Skip to content

Commit 3bb40b3

Browse files
alexjustesengitbook-bot
authored andcommitted
GITBOOK-96: No subject
1 parent 7ab7a16 commit 3bb40b3

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

contributing/development-environment.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ APP_KEY=
4444
APP_DEBUG=false
4545
APP_TIMEZONE=UTC
4646
```
47+
4748
{% hint style="info" %}
48-
Generate the APP_KEY at https://speedtest-tracker.dev
49+
Generate the APP\_KEY at https://speedtest-tracker.dev
4950
{% endhint %}
5051

5152
#### 3. Install Composer dependencies
@@ -83,7 +84,7 @@ To start up the environment we can now use the Sail binary that is included with
8384
sail up -d
8485
```
8586

86-
#### 6. Create the database
87+
#### 6. Create the database
8788

8889
To start up the environment we need to make a database
8990

@@ -102,31 +103,29 @@ sail artisan migrate:fresh --force
102103

103104
#### 7. Installing NPM assets
104105

105-
We will need to install the needed NPM assets
106+
We will need to install the needed NPM assets
106107

107108
```bash
108109
./vendor/bin/sail npm install && ./vendor/bin/sail npm run build
109110

110111
# or if you have a Sail alias setup...
111112
sail npm install && sail npm run build
112113

113-
```
114+
```
114115

115-
#### 8. Installing the application
116+
***
116117

117-
Once the environment is setup you can install a fresh version of the application by running the following command. Keep in mind this WILL refresh the entire database.
118+
### Reset your development environment
119+
120+
You can reset your development environment at any time by re-running a fresh migration:
118121

119122
```bash
120-
./vendor/bin/sail artisan app:install --force
123+
./vendor/bin/sail artisan migrate:fresh --force
121124

122125
# or if you have a Sail alias setup...
123-
sail artisan app:install --force
126+
sail artisan migrate:fresh --force
124127
```
125128

126-
{% hint style="info" %}
127-
You can reset your development environment at any time by running the `app:install` command.
128-
{% endhint %}
129-
130129
***
131130

132131
### Processing Jobs in the Queue using a Worker
@@ -144,7 +143,7 @@ sail artisan queue:work
144143

145144
### Lint your code before opening a PR or committing changes
146145

147-
To keep PHP's code style consistant across multiple contributors a successful lint workflow is required to pass. Check your code quality locally by running the commnand below and fixing it's recommendations.
146+
To keep PHP's code style consistent across multiple contributors a successful lint workflow is required to pass. Check your code quality locally by running the command below and fixing it's recommendations.
148147

149148
```bash
150149
./vendor/bin/sail bin duster lint --using=pint -v

0 commit comments

Comments
 (0)