mirror of
https://github.com/actix/examples
synced 2024-11-27 16:02:57 +01:00
commit
7262de4917
@ -2,5 +2,4 @@ This directory includes weather information obtained from NOAA for NYC Central P
|
||||
|
||||
# Setup Instructions
|
||||
|
||||
Set up a sqlite3 database by executing the setup_db.sh file: ``bash sqlite_db.sh``
|
||||
|
||||
Set up a sqlite3 database by executing the setup_db.sh file: `bash sqlite_db.sh`
|
||||
|
@ -1,2 +1,3 @@
|
||||
sqlite3 weather.db < db/db.sql ; \
|
||||
sqlite3 -csv weather.db ".import db/nyc_centralpark_weather.csv nyc_weather"
|
||||
#!/usr/bin/env bash
|
||||
sqlite3 weather.db < db.sql
|
||||
sqlite3 -csv weather.db ".import nyc_centralpark_weather.csv nyc_weather"
|
||||
|
@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
# This script could be used for actix-web multipart example test
|
||||
# just start server and run client.py
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
# This script could be used for actix-web multipart example test
|
||||
# just start server and run client.py
|
||||
|
||||
|
@ -12,5 +12,5 @@ cargo run (or ``cargo watch -x run``)
|
||||
|
||||
### web client
|
||||
|
||||
- curl: ``curl -v https://127.0.0.1:8443/index.html --compress -k``
|
||||
- browser: [https://127.0.0.1:8443/index.html](https://127.0.0.1:8080/index.html)
|
||||
- curl: ``curl -v https://127.0.0.1:8443/index.html --compressed -k``
|
||||
- browser: [https://127.0.0.1:8443/index.html](https://127.0.0.1:8443/index.html)
|
||||
|
Loading…
Reference in New Issue
Block a user