diff --git a/tutorials/building-a-simple-web-blog-with-vweb.md b/tutorials/building-a-simple-web-blog-with-vweb.md index b04c7f5315..41a87604c7 100644 --- a/tutorials/building-a-simple-web-blog-with-vweb.md +++ b/tutorials/building-a-simple-web-blog-with-vweb.md @@ -23,20 +23,26 @@ The code is available @foo.bar()` will only work if the `bar()` method doesn't modify `foo`. -The HTML template is compiled to V during the compilation of the website, +The HTML template is compiled to V during the compilation of the website, that's done by the `$vweb.html()` line. (`$` always means compile time actions in V.) offering the following benefits: @@ -176,7 +182,7 @@ into a single binary file together with the web application itself. Now let's display some articles! -We'll be using V's builtin ORM and a SQLite database. +We'll be using V's builtin ORM and a SQLite database. (V ORM will also support MySQL, Postgre, and SQL Server soon.) Create a SQLite file with the schema: diff --git a/vlib/sqlite/README.md b/vlib/sqlite/README.md index 7f4749c421..d7462c650a 100644 --- a/vlib/sqlite/README.md +++ b/vlib/sqlite/README.md @@ -1,13 +1,16 @@ +# Install SQLite Dependency -# to use module `sqlite`, install `sqlite-devel` first. +**Fedora 31**: -for **Fedora 31**: - - sudo dnf -y install sqlite-devel +`sudo dnf -y install sqlite-devel` - for **Ubuntu 20.04**: - - sudo apt install -y libsqlite3-dev - +**Ubuntu 20.04**: +`sudo apt install -y libsqlite3-dev` + + +**Windows**: +- Download the source zip from [SQLite Downloads](https://sqlite.org/download.html) +- Create a new `sqlite` subfolder inside `v/thirdparty` +- Extract the zip into that folder