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)
 | 
			
		||||
2. Install Dependencies
 | 
			
		||||
   ```bash
 | 
			
		||||
   yarn
 | 
			
		||||
   ```
 | 
			
		||||
```bash
 | 
			
		||||
pnpm i
 | 
			
		||||
```
 | 
			
		||||
3. Start the server
 | 
			
		||||
   ```bash
 | 
			
		||||
   yarn dev
 | 
			
		||||
   ```
 | 
			
		||||
```bash
 | 
			
		||||
pnpm dev
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Run Tests
 | 
			
		||||
```bash
 | 
			
		||||
# Run tests once (server has to run)
 | 
			
		||||
yarn test
 | 
			
		||||
pnpm test
 | 
			
		||||
 | 
			
		||||
# Run test in watch mode (reruns on change)
 | 
			
		||||
yarn test:watch
 | 
			
		||||
pnpm test:watch
 | 
			
		||||
 | 
			
		||||
# Run test in ci mode (automaticly starts the dev server)
 | 
			
		||||
yarn test:ci
 | 
			
		||||
pnpm test:ci
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Use your own mail templates
 | 
			
		||||
@@ -44,7 +44,7 @@ Currently the following templates exist:
 | 
			
		||||
 | 
			
		||||
### Generate Docs
 | 
			
		||||
```bash
 | 
			
		||||
yarn docs
 | 
			
		||||
pnpm docs
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## ENV Vars
 | 
			
		||||
@@ -90,5 +90,5 @@ yarn docs
 | 
			
		||||
   * The dev tag of the docker image get's build from this
 | 
			
		||||
   * Only push minor changes to this branch!
 | 
			
		||||
   * To merge a feature branch into this please create a pull request
 | 
			
		||||
* feature/xyz: Feature branches - nameing scheme: `feature/issueid-title`
 | 
			
		||||
* bugfix/xyz: Branches for bugfixes - nameing scheme:`bugfix/issueid-title`
 | 
			
		||||
* feature/xyz: Feature branches - naming scheme: `feature/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';
 | 
			
		||||
/**
 | 
			
		||||
 * 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 {
 | 
			
		||||
    public async run(factory: Factory, connection: Connection): Promise<any> {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user