add known issue and solution

This commit is contained in:
lou 2024-10-15 18:14:29 -04:00
parent ccfd1f2656
commit c5fe610aed

View File

@ -112,7 +112,20 @@ chmod +x manage
``` ```
After doing that, you are now ready to use the script. After doing that, you are now ready to use the script.
Usage: `./manage [command] [options]` ## Known issues and suggestions
### Issue 1
There is a known issue where NodeJS will not wait for the database starts, before polling it.
### Issue 1 Workaround
I suggest doing the following commands to start your server
```bash
# if you haven't yet done this, run ./manage setup
./manage up
# once that command is finished (and waits the 30 seconds for database to come up)
./manage restart --db-alive
```
## `manage` usage
`./manage [command] [options]`
## `manage` commands ## `manage` commands
+ `./manage up` - Builds the project and starts the server. + `./manage up` - Builds the project and starts the server.
@ -126,4 +139,5 @@ Usage: `./manage [command] [options]`
# To-Do # To-Do
- [X] Add database support - [X] Add database support
- [X] Add view counter - [X] Add view counter
- [ ] Improve `manage` handling of waiting for database to start (switch from predefined number of seconds)