Skip to content

Commit 15131fa

Browse files
committed
docs: documenting deploy command
Added readme documentation for the deploy command
1 parent 4ab8256 commit 15131fa

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ To generate a matching resolver file for type file, execute the command:
3838
This will create a matching file, with all Query, Mutation and Subscription
3939
definitions.
4040

41+
### Deploy server to production
42+
43+
Inside the project directory, type:
44+
45+
```gga d```
46+
47+
This will run the server *deploy* script, and will move the server to production! :rocket:
48+
4149
### Extended documentation
4250

4351
Please check out the [extended documentation](https://tomyitav.github.io/generate-graphql-app) for more information

src/commands/deploy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export class Deploy extends AbstractCommand {
2525
console.error('No package.json file found, exiting...')
2626
return
2727
}
28-
console.log('Deploying project to production...')
28+
console.log('Deploying server to production...')
2929
if (pathToAppend !== '') {
3030
process.chdir(pathToAppend)
3131
}

0 commit comments

Comments
 (0)