add known issue and solution
This commit is contained in:
parent
ccfd1f2656
commit
c5fe610aed
16
README.md
16
README.md
@ -112,7 +112,20 @@ chmod +x manage
|
||||
```
|
||||
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 up` - Builds the project and starts the server.
|
||||
@ -127,3 +140,4 @@ Usage: `./manage [command] [options]`
|
||||
# To-Do
|
||||
- [X] Add database support
|
||||
- [X] Add view counter
|
||||
- [ ] Improve `manage` handling of waiting for database to start (switch from predefined number of seconds)
|
Loading…
x
Reference in New Issue
Block a user