1
0
mirror of https://github.com/actix/examples synced 2024-11-30 17:14:35 +01:00

Merge pull request #33 from RazrFalcon/master

Minor fixes
This commit is contained in:
Nikolay Kim 2018-08-03 08:26:55 -07:00 committed by GitHub
commit 7262de4917
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 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

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# This script could be used for actix-web multipart example test # This script could be used for actix-web multipart example test
# just start server and run client.py # just start server and run client.py

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# This script could be used for actix-web multipart example test # This script could be used for actix-web multipart example test
# just start server and run client.py # just start server and run client.py

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)