fix: updated README for pnpm, typos
This commit is contained in:
		
							
								
								
									
										24
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										24
									
								
								README.md
									
									
									
									
									
								
							@@ -15,24 +15,24 @@ Backend Server
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
1. Rename the .env.example file to .env (you can adjust app port and other settings, if needed)
 | 
					1. Rename the .env.example file to .env (you can adjust app port and other settings, if needed)
 | 
				
			||||||
2. Install Dependencies
 | 
					2. Install Dependencies
 | 
				
			||||||
   ```bash
 | 
					```bash
 | 
				
			||||||
   yarn
 | 
					pnpm i
 | 
				
			||||||
   ```
 | 
					```
 | 
				
			||||||
3. Start the server
 | 
					3. Start the server
 | 
				
			||||||
   ```bash
 | 
					```bash
 | 
				
			||||||
   yarn dev
 | 
					pnpm dev
 | 
				
			||||||
   ```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Run Tests
 | 
					### Run Tests
 | 
				
			||||||
```bash
 | 
					```bash
 | 
				
			||||||
# Run tests once (server has to run)
 | 
					# Run tests once (server has to run)
 | 
				
			||||||
yarn test
 | 
					pnpm test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Run test in watch mode (reruns on change)
 | 
					# Run test in watch mode (reruns on change)
 | 
				
			||||||
yarn test:watch
 | 
					pnpm test:watch
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Run test in ci mode (automaticly starts the dev server)
 | 
					# Run test in ci mode (automaticly starts the dev server)
 | 
				
			||||||
yarn test:ci
 | 
					pnpm test:ci
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Use your own mail templates
 | 
					### Use your own mail templates
 | 
				
			||||||
@@ -44,7 +44,7 @@ Currently the following templates exist:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
### Generate Docs
 | 
					### Generate Docs
 | 
				
			||||||
```bash
 | 
					```bash
 | 
				
			||||||
yarn docs
 | 
					pnpm docs
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## ENV Vars
 | 
					## ENV Vars
 | 
				
			||||||
@@ -90,5 +90,5 @@ yarn docs
 | 
				
			|||||||
   * The dev tag of the docker image get's build from this
 | 
					   * The dev tag of the docker image get's build from this
 | 
				
			||||||
   * Only push minor changes to this branch!
 | 
					   * Only push minor changes to this branch!
 | 
				
			||||||
   * To merge a feature branch into this please create a pull request
 | 
					   * To merge a feature branch into this please create a pull request
 | 
				
			||||||
* feature/xyz: Feature branches - nameing scheme: `feature/issueid-title`
 | 
					* feature/xyz: Feature branches - naming scheme: `feature/issueid-title`
 | 
				
			||||||
* bugfix/xyz: Branches for bugfixes - nameing scheme:`bugfix/issueid-title`
 | 
					* bugfix/xyz: Branches for bugfixes - naming scheme:`bugfix/issueid-title`
 | 
				
			||||||
@@ -11,7 +11,7 @@ import { PermissionAction } from '../models/enums/PermissionAction';
 | 
				
			|||||||
import { PermissionTarget } from '../models/enums/PermissionTargets';
 | 
					import { PermissionTarget } from '../models/enums/PermissionTargets';
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Seeds a admin group with a demo user into the database for initial setup and auto recovery.
 | 
					 * Seeds a admin group with a demo user into the database for initial setup and auto recovery.
 | 
				
			||||||
 * We know that the nameing isn't perfectly fitting. Feel free to change it.
 | 
					 * We know that the naming isn't perfectly fitting. Feel free to change it.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
export default class SeedUsers implements Seeder {
 | 
					export default class SeedUsers implements Seeder {
 | 
				
			||||||
    public async run(factory: Factory, connection: Connection): Promise<any> {
 | 
					    public async run(factory: Factory, connection: Connection): Promise<any> {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user