RenaiApp/README.md

29 lines
918 B
Markdown
Raw Normal View History

## Development
2019-03-10 20:29:25 +01:00
- `npm install`
- `npm run rebuild`
- might need to install some build tools depending on your platform
2019-06-16 21:41:04 +02:00
- `npm run tsc` for backend
- `npm run webpack` for frontend
- `npm dev`
2019-06-23 03:33:48 +02:00
### Database Migrations
Migrations are stored in [src/main/migrations](src/main/migrations) and handled by typeorm.
To auto-generate a migration:
`node_modules/.bin/typeorm migration:generate -c <connection name>`
To create an empty creation which can be filled with custom migration code:
`node_modules/.bin/typeorm migration:create -c <connection name>`
To run migrations:
`node_modules/.bin/typeorm migration:run -c <connection name>`
This is also pre-defined in the npm script `typeorm:migrate`.
## Donations
| | |
| --- | ------------------------------------------------------ |
| BCH | bitcoincash:qrm4v447q22nw8lyxmpam2eakd22vmsfagfxttznyc |