26 lines
740 B
Markdown
26 lines
740 B
Markdown
|
|
## These are some notes for development
|
|
# contains some helpful tips, commands, and knowledge
|
|
|
|
Resetting the database (for dev):
|
|
> set development evironment (specify non-docker network and db password)
|
|
> dotnet ef database drop
|
|
> dotnet ef migrations remove
|
|
> if above errors, dotnet ef database update 0
|
|
> dotnet ef migrations add InitialCreate
|
|
|
|
To see live logs:
|
|
sudo docker logs -f -t agologum-api
|
|
|
|
public user:
|
|
> username=bard (sensitive data modify permissions)
|
|
> username=xvbard (sensitive data read permissions)
|
|
> password=Public*890
|
|
|
|
chrome dev tools troubleshooting
|
|
> response body: Network => url endpoint => Response => expand
|
|
|
|
Always test build before committing
|
|
> for the client: $ npm run dev
|
|
> for the api: $ dotnet build
|