Skip to content
Vivian Hoang edited this page Apr 23, 2019 · 11 revisions

Welcome to the H&A wiki!

Visions and Improvements for the Site

This is where we try to setup the environment and implement similar to this draft. Art Gallery Vision

Setting Up Your Environment

To use the environment, you'll have to download quite a few things before having something look similar to what is hosted at SJSU Art Gallery. A development environment, plugins, and the parent theme used by the site.

Materials Needed to Download:


Installing XAMPP

Installing on Mac:

  1. Click on the correct download application for your OS. XAMPP download page
  2. This window should pop up with you finish downloading the image. Drag the .dmg file to the desktop, or anywhere you like then proceed to click on the file.
    Downloading the file
  3. This would then pop up the setup dialog window. Click next for the next couple of screens and make sure to check the following boxes below in the image. Then check Launch XAMPP and click finish. Components required for download Launch XAMPP

If you happen to close XAMPP you can go to Applications < XAMPP < manager-osx to launch instead. Applications Folder Inside XAMPP folder XAMPP applications

Sometimes when downloading, you may have to inject XAMPP from the drive and all the files are located in .bitnami inside the drive. You'll have to locate those files and set it up from there.

Installing on Windows

To install on Windows, you download from the XAMPP page and run the executable. Then you may choose where to install XAMPP.

~~ NOTE: You'll need to make an empty database for WordPress. Start the Apache and MySql in your XAMPP application in manage servers - or, click all. Then open any browser of your choose and type localhost/phpmyadmin. From there create a new database called wordpress. Now you're ready for the Wordpress installation. ~~


Installing Local Fly Wheel

Refer to this page:
https://getflywheel.com/layout/local-wordpress-development-environment-how-to/


Installing WordPress

To install WordPress you'll need to go to their site and download their zipped file. After installing the zipped file, unzip the files into

Windows: xampp < htdocs Mac: xampp < xamppfiles < htdocs

Installing On Windows

After installing on Windows and moving to the htdocs folder, and starting all your servers (and created the database for WordPress). Navigate to localhost/wordpress on any browser and a WordPress configuration should start. When they ask for username and password, they are referring to the database username and password. If the configurations of your database is default, then it should be root as the user and as the password leave it blank. If you get any errors about not being able to find the database, make absolute sure you created a database with the EXACT same name.

Installing on Macs

It should be the same as Windows installation, but you may face some complications if you don't load the drive.

Installing Plugins

When installing the plugins, it is best to download straight from the WordPress dashboard. For Windows, there usually isn't a problem since it automatically added into the WordPress configuration file. However, with Macs, you'll need to fix the configuration file by adding a line in the wp-config.php file located inside the WordPress extracted files: define('FS_METHOD','direct');. Refer to this site if you need additional permissions or stackoverflow: https://codex.wordpress.org/Editing_wp-config.php.


Dimensions for Images

For the images on the site, we have prefer to have the ratio of 3:2. For the artist directory, for the featured images it would be preferable to have a ratio of 3:2. Otherwise, the events and exhibitions have a JavaScript library to turn the featured images into thumbnails.