In partial fulfillment of academic requirements in ITE 001
- Windows 10 Operating System (or newer)
- Microsoft Visual Studio 2019 (or later versions)
- Git
- Vcpkg
- CrowCpp
- SQLite
- htmx
- Bootstrap
Install Visual Studio 2019 (or later versions) Include the ff. Workloads:
- Desktop Development with C++
Click for instructions in installing Git
Vcpkg can be installed anywhere; it is recommended to install in C:\src\.
(Create C:\src\ directory if it doesn't exist).
Clone vcpkg repository.
cd C:\src\
git clone https://github.com/microsoft/vcpkg
Bootstrap vcpkg repository.
.\vcpkg\bootstrap-vcpkg.batIn order to use vcpkg with Visual Studio, run the following command (may require administrator elevation):
.\vcpkg\vcpkg integrate install- Enter the ff. code in Windows Powershell to set the environment variables:
$env:VCPKG_ROOT = 'C:\src\vcpkg'
$env:VCPKG_DEFAULT_TRIPLET = 'x64-windows'- Also enter the ff. code to clone the repository:
git clone https://github.com/iooosef/EnrollMe.git-
Open Visual Studio
-
Click
Continue without code → -
In the Menu Bar, click
File→Open→Cmake... -
Navigate to
.\EnrollMe\directory, then openCMakeLists.txt -
In the Developer PowerShell enter the code to install vcpkg dependencies:
vcpkg install- Also enter the code to generate the build files:
cmake -B build -S .\ --preset x64-debug-
In Visual Studio click
Debugmenu bar, thenDebug and Launch Settings for EnrollMe. -
inside
launch.vs.json, add the following below"name"to run the web server.
"name": "EnrollMe.exe",
"args": [
"run"
]- Debug and Run
To run the web server. Add the run as an argument.
./EnrollMe.exe runParayaoan, Joseph Clarence • Clemente, Ken Shelly Charles • Fernandez, Sandrhen • Palaganas, John Michael Dublin