sqlite: add Windows instructions to readme (#7041)
parent
879d238887
commit
552de94da6
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue