-
Notifications
You must be signed in to change notification settings - Fork 0
Development Onboarding (Windows)
The following instructions outline how to set up your development environment on Windows to run this app or contribute to this repository.
If you face any issues while setting up your development environment, open a suitable issue on the main repository.
- A
text editor
for writing code. Notepad is sufficient. - A
web browser
to run the application. A modern web browser like Google Chrome, Mozilla Firefox, or Microsoft Edge is recommended. If you are using Internet Explorer, note that only Internet Explorer 11 is supported because other versions do not support CSS flexbox. - A
web server
to host the web application. This application won't work on thefile:///
protocol because it uses a database. You can run this application locally usinglocalhost
. -
PHP
>= PHP7 - An
SQL database
, because the database is an SQL database. -
git
, if you want to write code for this application
- Text Editor
- You don't really require a text editor. Notepad is pre-installed with Windows. You can skip this step.
- Alternatively you might want to install an IDE to write code easily. You can install any IDE of your choice.
- Web Browser
- If you already have a modern version of Google Chrome, Microsoft Edge (Chromium), Internet Explorer 11, Mozilla Firefox, or any other modern web browser, you can skip this step.
- Otherwise, it is recommended to install any of these browser(s). You might need them for day-to-day browsing activities, so think about it!
- A web server
- For those who are new to SQL-based website development, XAMPP and WampServer are two very popular choices. You can install any one of them and get started.
- Git
- If you want to run this application without any version control, you can skip this step.
- If you are writing code for this application, it is recommended to have git installed.
-
Install all the above prerequisites and note the repository location:
- If you're using
XAMPP
, clone the repository toXAMPP\htdocs
folder. - If you're using
WampServer
, clone the repository towamp\www
orwamp64\www
depending on the installed version (32-bit or 64-bit) of WampServer. - For all other web servers, clone it to the respective project folder.
- If you're using
-
After installing all the pre-requisites, either download this repository, or clone it to the above location using:
> git clone https://github.com/BurraAbhishek/VirtualElections.git
-
Start your web server.
- If you're using
XAMPP
, StartApache
andMySQL
modules. - If you're using
WampServer
, start all services and ensure that the system tray icon is green.
- If you're using
-
Open a web browser, and type
localhost
. If a welcome screen appears, then your local web server was successfully installed. -
Now go to
localhost/<Repository>/src/index.html
. Replace<Repository>
with the name of the repository stored in htdocs. You should be able to see the homepage. -
Go to
localhost/<Repository>/src/admin/getstarted.html
and follow the instructions in that page.