Vaccine Visibility System
UBUNTU (LINUX) INSTALLATION
- Start a terminal by pressing " Ctrl+Alt+T".
- Make sure you have the following software installed in your system: Instalation instruction can be found here
- GIT,
- COMPOSER
- PHP
- MYSQL or SQLITE or PGSQL or SQLSRV database
- APACHE
- To verify that you have them installed,
- Type " git --version" then press ENTER button
- Type " composer --version" then press ENTER button
- Type " php --version" then press ENTER button
- Type " mysql --version" then press ENTER button, for other type of database, replace mysql with the corresponding type of installation.
- Type " apache --version" then press ENTER button
- Navigate to a directory that will contain the contents of VVS.
- Type " cd /var/www/html" then press ENTER button
- Clone VVS project from Github by typing the following command:
- Type " git clone https://github.com/kelvinmbwilo/VVS" then press ENTER button
- The content of VVS will then be copied from Github to your current directory, wait for it to complete.
- Navigate to VVS directory
- Type " cd VVS" then press enter
- Give the read, write and execute access to a folder of VVS
- Type " sudo chmod -R 777 ." then press ENTER button
- The next step is to install dependencies of VVS.
- Type " composer install" then press ENTER button.
- Type " composer update" then press ENTER button.
- Create a database called "VVS".
- Change the username and password of a database from a file located at " VVS/config/database.php" in order to relate to your database configuration. Any text editor can be used to perform these changes. What is needed to be done is to replace the red texts (null) below with the corresponding values of the installed database configurations. The variables to change are:
- 'database' => env('DB_DATABASE', 'null'),
- 'username' => env('DB_USERNAME', 'null'),
- 'password' => env('DB_PASSWORD', 'null'),
- Under VVS directory, create the tables that will hold data of your system
- Type " php artisan migrate" then press ENTER button
- Generate the key:
- Type " php artisan key:generate" then press ENTER button
- Start using VVS
- Start your favorite browser
- Use this URL: SERVER_NAME /VVS/public/index.php where SERVER_NAME is the name of your server.
WINDOWS INSTALLATION
- Install XAMPP or WAMP server
- Make sure you have the following software installed in your system:
- COMPOSER
- WINRAR
- Download the ZIP folder of VVS project from the link: https://github.com/kelvinmbwilo/VVS
- Unzip the contents of downloaded VVS files in XAMPP installation directory " **xampp\htdocs**"
- For WAMP, unzip the files in " **wamp\www**" directory
- The name of the unzipped file will be " VVS-master", rename it to " VVS"
- Start XAMPP server, specifically APACHE module and MYSQL module.
- Create a database called "VVS".
- Change the username and password of a database from a file located at " VVS/config/database.php" in order to relate to your database configuration. Any text editor can be used to perform these changes. What is needed to be done is to replace the red texts (null) below with the corresponding values of the installed database configurations. The variables to change are:
- 'database' => env('DB_DATABASE', 'null'),
- 'username' => env('DB_USERNAME', 'null'),
- 'password' => env('DB_PASSWORD', 'null'),
- Navigate to VVS directory
- Search for " cmd" or " Command Prompt" on a search field of a window then open it.
- Navigate to VVS folder. NOTE: a directory is changed by typing "cd" command which stands for change directory. Let's take a look at this example; The directory of VVS can be located at " C:\Program Files\xampp\htdocs\VVS", now assume that you are in " C:\Users\Mimi" directory. How to navigate to reach a "VVS" directory from "Mimi" directory? 1. First, go two steps back by typing " cd .." twice, press ENTER button each time. This will take you to " **C:**" directory 2. Then navigate to VVS by typing ' cd "Program Files\xampp\htdocs\VVS"', press ENTER button once you type the whole directory
- The next step is to install dependencies of VVS.
- Type " composer install" then press ENTER button.
- Type " composer update" then press ENTER button.
- Under VVS directory, create the tables that will hold data of your system
- Type " php artisan migrate" then press ENTER button
- Generate the key:
- Type " php artisan key:generate" then press ENTER button
- Start using VVS
- Start your favorite browser
- Use this URL: SERVER_NAME /VVS/public/index.php where SERVER_NAME is the name of your server.
MAC INSTALLATION
-
Install XAMPP or WAMP server you can use the installation instruction from here
-
Make sure you have the following software installed in your system:
-
COMPOSER
-
Download the ZIP folder of VVS project from the link: https://github.com/kelvinmbwilo/VVS
-
Unzip the contents of downloaded VVS files in XAMPP installation directory " **xampp\htdocs**"
-
For WAMP, unzip the files in " **wamp\www**" directory
-
The name of the unzipped file will be " VVS-master", rename it to " VVS"
-
Start XAMPP server, specifically APACHE module and MYSQL module.
-
Create a database called "VVS".
-
Change the username and password of a database from a file located at " VVS/config/database.php" in order to relate to your database configuration. Any text editor can be used to perform these changes. What is needed to be done is to replace the red texts (null) below with the corresponding values of the installed database configurations. The variables to change are:
-
'database' => env('DB_DATABASE', 'null'),
-
'username' => env('DB_USERNAME', 'null'),
-
'password' => env('DB_PASSWORD', 'null'),
-
Navigate to VVS directory
-
Search for " cmd" or " Command Prompt" on a search field of a window then open it.
-
Navigate to VVS folder. NOTE: a directory is changed by typing "cd" command which stands for change directory. Let's take a look at this example; The directory of VVS can be located at " C:\Program Files\xampp\htdocs\VVS", now assume that you are in " C:\Users\Mimi" directory. How to navigate to reach a "VVS" directory from "Mimi" directory? 1. First, go two steps back by typing " cd .." twice, press ENTER button each time. This will take you to " **C:**" directory 2. Then navigate to VVS by typing ' cd "Program Files\xampp\htdocs\VVS"', press ENTER button once you type the whole directory
-
The next step is to install dependencies of VVS.
-
Type " composer install" then press ENTER button.
-
Type " composer update" then press ENTER button.
-
Under VVS directory, create the tables that will hold data of your system
-
Type " php artisan migrate" then press ENTER button
-
Generate the key:
-
Type " php artisan key:generate" then press ENTER button
-
Start using VVS
-
Start your favorite browser
-
Use this URL: SERVER_NAME /VVS/public/index.php where SERVER_NAME is the name of your server.