Use nix to run the app

This commit is contained in:
Jeremy Wall 2023-01-05 13:09:12 -05:00
parent 94f9b3ed07
commit aa4e2e8f8a

3
run.sh
View File

@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
EXAMPLES=${EXAMPLES:-../examples} EXAMPLES=${EXAMPLES:-../examples}
make clean wasm kitchen
echo Starting api server serving ${EXAMPLES} 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 # This is ghetto but I'm doing it anyway