Installing Omeka and Neatline on a Mac
MAMP is a free piece of software that automates the process of running a development "LAMP stack" (Linux, Apache, MySQL, PHP) server on your computer. There's a "pro" version that you have to pay money for, but the free version works just fine.
Go to mamp.info and click on the "Download" links.
When the file finishes downloading, run the .pkg file, which will open up a regular Mac installer program. Click through the steps to install the package.
Once MAMP is installed, you'll have a new folder in your
MAMP. Open up that folder, and you'll see a listing for
MAMP, which is the actual program that manages the server. Double-click on that to launch the configuration utility, and then click on "Start Servers" to spin up the server.
Next, we'll need to install Omeka.
Head over to omeka.org and click on the "Download Omeka" link.
On the downloads page, click the "Download Omeka 2.2.2" link.
Once the .zip archive has finished downloading, find the file in finder (if you're using Chrome, click on the little arrow next to the listing for the file at the bottom of the screen, and then click "Show in Finder").
Double-click on the omeka-2.2.2.zip file to uncompress it. You'll end up with a regular directory called
Click on the folder that was extracted from the .zip archive and copy it to the clipboard by pressing Command+C.
In Finder, go to
Applications/MAMP/htdocsand paste in the Omeka folder.
Right click on the folder and click on "Get Info." In the "Name and Extension" input, change
omeka-2.2.2to just plain
omeka. This isn't required, but it will make the URLs in your development environment a bit less cluttered.
Open up a browser and go to http://localhost:8888/MAMP, the configuration home page for MAMP. At the top of the screen, select Tools > phpMyAdmin. phpMyAdmin is a configuraton interface for the MySQL database that will store the data that gets added to the Omeka site.
First, we need to create a new database. Click on the "Databases" tab at the top of the screen, and find the "Create Database" input. Type
omeka, and then hit "Create."
Next, we'll create a user than can connect to the database. Click on the "Users" tab along the top, and then click the "Add user" link at the bottom.
Type a name into the "User name" field. This can be anything you like - in development, I just use
omeka, which is easy to remember.
Click on the dropdown next to "Host" and select "Local."
Type a password into the "Password" field. On a production server, this should be a strong, secure password. But, in development I just use
Re-type the password in the last field.
In the "Global privileges" panel at the bottom of the page, just click the "Check All" input. This basically makes the user into a "super user" who can do anything.
Next, we need to tell Omeka where to find the database. Go back to the
omekafolder in Finder, open it up, and double click on the
db.inifile to open it. If you get a box asking you to pick which program you want to use to open the file, you'll need to download a text editor that you can use to edit source files - take a look at Sublime Text, which is a nice editor.
db.ini, you'll see something like this:
[database] host = "XXXXXXX" username = "XXXXXXX" password = "XXXXXXX" dbname = "XXXXXXX" prefix = "omeka_" charset = "utf8" ;port = ""
omeka, so that it looks like this:
[database] host = "localhost" username = "omeka" password = "omeka" dbname = "omeka" prefix = "omeka_" charset = "utf8" ;port = ""
Then, save the file to lock in the new settings.
Last, we just need to run Omeka's web-based installer. Go to
http://localhost:8888/omekaand fill out all of the required fields (Username, Password, Email, Administrator Email, and Site Title). Then, click the "Install" button, and, if all goes well, you'll see a page that says "Success!" with links to the public site and admin dashboard.
Click on "Admin Dashboard," which is where we'll need to be for the last step.
Last, we just need to install Neatline, which is a plugin that sits inside of Omeka.
Go back to omeka.org and click on "Add-Ons" in the main menu.
On the right side of the screen, click on "All Plugins," and then scroll down to the listing for "Neatline." Click on the "Download v2.3.0" link.
When the .zip archive finishes downloading, find it in the Downloads folder and double-click it to extract the
Neatlinefolder, which contains the source code.
Neatlineand press Command+C to copy it to the clipboard.
Go back to the Omeka folder at
Applications/MAMP/htdocs/omekaand open up the
pluginfolder. Paste in the Neatline folder, so that the final directory structure is
Go back to the Omeka admin dashboard in the browser an click on the "Plugins" link at the top of the screen. Find the listing for "Neatline," and click the "Install" button.
And, that's it! Once the page reloads, you'll see a new "Neatline" tab at the bottom of the left pane - click there to get started with Neatline.