1
0
mirror of https://github.com/actix/examples synced 2025-01-22 22:05:57 +01:00

Minor fixes.

This commit is contained in:
RazrFalcon 2018-07-29 17:30:43 +03:00
parent cfb980642b
commit c7a29b00c9
3 changed files with 6 additions and 6 deletions

View File

@ -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`

View File

@ -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"

View File

@ -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)