-
This commit is contained in:
@@ -7,7 +7,7 @@ This app is a personal tracking and reference tool. It is not medical advice, di
|
|||||||
## Run
|
## Run
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
/Users/tyemeclifford/frankenphp php-server --root public --listen 127.0.0.1:8080
|
frankenphp php-server --root public --listen 127.0.0.1:8080
|
||||||
```
|
```
|
||||||
|
|
||||||
Then open:
|
Then open:
|
||||||
@@ -75,7 +75,7 @@ From the admin dashboard, use the medicine source updater and choose `All source
|
|||||||
From the command line:
|
From the command line:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
/Users/tyemeclifford/frankenphp php-cli scripts/update_medicine_catalog.php 1000 all
|
frankenphp php-cli scripts/update_medicine_catalog.php 1000 all
|
||||||
```
|
```
|
||||||
|
|
||||||
For periodic maintenance, run the same command nightly or weekly. The first argument is the max rows per source, from `25` to `5000`; the second argument is `all`, `RxNorm`, `DailyMed`, or `openFDA`.
|
For periodic maintenance, run the same command nightly or weekly. The first argument is the max rows per source, from `25` to `5000`; the second argument is `all`, `RxNorm`, `DailyMed`, or `openFDA`.
|
||||||
|
|||||||
Reference in New Issue
Block a user