-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This is where we try to setup the environment and implement similar to this draft. Art Gallery Vision
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:
- XAMPP or Local Fly Wheel (I recommend Local Fly Wheel because the setup is mostly done for you)
- WordPress
- Plugins
- Parent Theme
Installing XAMPP
- Click on the correct download application for your OS.
- 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.
- 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.
If you happen to close XAMPP you can go to Applications < XAMPP < manager-osx
to launch instead.
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.
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/
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
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.
It should be the same as Windows installation, but you may face some complications if you don't load the drive.
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.
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.
Documentation to help start somwhat.