From aa4e2e8f8a4db71fd36b3cb5c76647ef023113b5 Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Thu, 5 Jan 2023 13:09:12 -0500 Subject: [PATCH] Use nix to run the app --- run.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/run.sh b/run.sh index 0bb52d0..b7e9e08 100755 --- a/run.sh +++ b/run.sh @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. EXAMPLES=${EXAMPLES:-../examples} -make clean wasm kitchen echo Starting api server serving ${EXAMPLES} -cargo run -- --verbose debug serve --dir ${EXAMPLES} --tls --cert ~/tls-certs/localhost+2.pem --cert_key ~/tls-certs/localhost+2-key.pem +nix run .\#kitchen -- --verbose debug serve --dir ${EXAMPLES} --tls --cert ~/tls-certs/localhost+2.pem --cert_key ~/tls-certs/localhost+2-key.pem # This is ghetto but I'm doing it anyway