mirror of
https://github.com/actix/examples
synced 2025-01-22 22:05:57 +01:00
Minor fixes.
This commit is contained in:
parent
cfb980642b
commit
c7a29b00c9
@ -2,5 +2,4 @@ This directory includes weather information obtained from NOAA for NYC Central P
|
|||||||
|
|
||||||
# Setup Instructions
|
# 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 ; \
|
#!/usr/bin/env bash
|
||||||
sqlite3 -csv weather.db ".import db/nyc_centralpark_weather.csv nyc_weather"
|
sqlite3 weather.db < db.sql
|
||||||
|
sqlite3 -csv weather.db ".import nyc_centralpark_weather.csv nyc_weather"
|
||||||
|
@ -12,5 +12,5 @@ cargo run (or ``cargo watch -x run``)
|
|||||||
|
|
||||||
### web client
|
### web client
|
||||||
|
|
||||||
- curl: ``curl -v https://127.0.0.1:8443/index.html --compress -k``
|
- 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:8080/index.html)
|
- browser: [https://127.0.0.1:8443/index.html](https://127.0.0.1:8443/index.html)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user