sqlite: add Windows instructions to readme (#7041)

pull/7059/head
Lukas Neubert 2020-12-01 04:00:41 +01:00 committed by GitHub
parent 879d238887
commit 552de94da6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 13 deletions

View File

@ -23,20 +23,26 @@ The code is available <a href='https://github.com/vlang/v/tree/master/tutorials/
### Installing V
```
wget https://github.com/vlang/v/releases/latest/download/v_linux.zip
unzip v_linux.zip
wget https://github.com/vlang/v/releases/latest/download/linux.zip
unzip linux.zip
cd v
sudo ./v symlink
```
Now V should be globally available on your system.
> On macOS use `v_macos.zip`, on Windows - `v_windows.zip`.
> On macOS use `macos.zip`, on Windows - `windows.zip`.
If you use a BSD system, Solaris, Android, or simply want to install V
from source, follow the simple instructions here:
https://github.com/vlang/v#installing-v-from-source
### Install SQLite development dependency
If you don't have it already installed, look at the
[`sqlite` README](../vlib/sqlite/README.md) for instructions.
### Creating a new Vweb project
V projects can be created anywhere and don't need to have a certain structure:

View File

@ -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**:
**Ubuntu 20.04**:
sudo apt install -y libsqlite3-dev
`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