The AdvoKit installer is a PHP/MySQL application whose purpose is to install AdvoKit on a server. For most users, the installer will do all the work for you of setting up database tables, copying application files, and creating configuration files. The whole process can take just a few minutes.
The AdvoKit installer can be obtained from a variety of sources. Official AdvoKit releases can be obtained from insert url here. In addition, AdvoKit is distributed under the Affero General Public License, which requires the the source code for the application to be downloadable by a link in the application. So you can get the AdvoKit installer from any running instance of AdvoKit!
The AdvoKit installer can create a new installation, or upgrade an old installation. To run, the installer files must be downloaded, decompressed, and placed on your web server where they can be accessed with a web browser. In other words, the installer folder should be placed somewhere under your web root. Typically, FTP is used to put the installer files on your server. Once there, the compressed archive may be decompressed from the command line on the server, or it can be decompressed using a utility like WinZIP prior to uploading to the server.
Some servers may not be set up in such a way as to allow the AdvoKit installer to run easily. UNIX file permissions settings are the most common source of difficulty. Consult the system requirements for more suggestions.
Once the AdvoKit installer has completed, it should be removed from under the web root. Leaving it in place provides a very large security hole on your system. It can be moved out from under your web root if you wish to keep the installer available.
AdvoKit runs on a web server with PHP and a MySQL database server. Before you can install or upgrade AdvoKit, you must have information for accessing the MySQL database; where the application files will go; and where the web root is found.
There are three steps that must be accomplished, in no particular order, before starting up the AdvoKit installer: Setting up a database; Figuring out where files will go; and installing the installer!
You will need to work with your hosting service or local system administrator to create a MySQL database that you have access to. To set up AdvoKit, you will need to know:
Take a minute or two to understand the directory structure on your host machine. If you are installing on a remote server, use your FTP client to take a look at how the hosting service has organized your directories. Typically, in your top level directory or perhaps one level down, there is a folder called "public_html" or "htdocs" or some such, which is where your publicly accessible web pages are served from. This folder is known as the "web root". The advokit-installer will need to put some files under that directory. You can decide if you want AdvoKit to run directly from the web root, or from a folder somewhere under the web root, e.g. "../public_html/advokit".
Most of the AdvoKit files will be placed in a location that is NOT under the web root, so that prying eyes or mischief-makers cannot get into them. The most typical approach is to create a folder called "advokit" at the top level of your directory structure (above that web root) for the advokit-installer to use to place all the application files and private data files.
The advokit-installer compressed archive will need to be decompressed and uploaded to your web server. Most efficient is to upload the archive to your server and then decompress it from the command line. If you do not have shell access, then decompress the archive on your PC (using e.g. WinZip), and then drag the advokit-installer folder to your web server using your FTP client. Make sure you place it under your web root, where it can be accessed by a web browser.
After you have decompressed and placed the advokit-installer folder under your web root, point your web browser to <your.domain>/advokit-installer.

Assuming this is a new installation, click on the button labeled "Install advokit, deleting any existing installation >"
It doesn't hurt to select "transaction safe tables", though most MySQL servers do not support them.
At this point you can click "continue". If the database connection information was valid, then you will see a screen like this

If the database connection is successful, click "continue". If it was not successful, click "go back one step" and carefully check the information as entered.
Now a long list appears, showing what database tables the AdvoKit installer plans to create. If any of these tables already exist, they will be dropped, and any data in them will be lost permanently. If you are installing over a pre-existing AdvoKit database, that data will be lost.
If you are installing AdvoKit for the first time, you might want to choose to have some sample voter data installed. This loads a small voterfile that you can use while exploring your way around AdvoKit. If you do not have any voterfile data, this is a great way to learn about AdvoKit. Do not choose to install this sample data if you intend to upload real voterfile data and begin to run a real campaign, however you can get rid of the sample data at any time just by re-running the AdvoKit-installer. Note that the option to load sample data is off by default, and appears at the bottom of this long page, requiring scrolling down to see it.
If you now choose to continue, the installer will proceed to install the more than fifty database tables needed to run AdvoKit. This should only take a minute. A lengthy log of results for each SQL insert statement should scroll rapidly past as each table is created. If there are any errors, the installer will usually stop and display an error message. However it is a good idea to to quickly scan the results display for any highlighted text that may indicate a warning or error message. Most warnings can be safely ignored. An error message stops installation, and should be resolved and the import run again.

Once the database installation is successful, the installer turns to setting up the application files and configuring the advokit.ini file that binds everything together. To do so, you must provide the installer with information about where your installation will be found on the world wide web, and where its files will be found on the machine that will be serving your site..
The following five items expect you to provide an absolute path for locations to place AdvoKit application files - folder locations on the host machine. In a remote hosted environment, the complete path may not be apparent to you, since you can usually only see the file structure below your private home directory. However, the advokit-installer does provide some help for you. If you look at the filesystem path above that was filled out by the installer, it shows the complete filesystem path to where the web-accessible portion of AdvoKit is found in your web directory. Since your web directory is normally located below your private home directory, you can pull out the portion of the path that shows where your private home directory is. For example, if
Filesystem path is "/home/.zachheater/janedoe/public_html/advokit", then it's easy to figure out that the private home directory is "/home/.zachheater/janedoe". Now if you created a folder called "advokit" under your private home directory (see "File system setup above), then you would just need to substitute "/home/.zachheater/janedoe" for "\NON-WEB\PATH\TO" in the following paths.
Carefully double-check all the entries in this page before clicking "Continue >". You will next see a scrolling list of the files that are being copied to your application folders. Watch for error messages, usually shown in bold red type. If there are errors, try to resolve them and then reload this page, or go back one step.
Until something better is written, see this FAQ entry.