AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Pgadmin Download Mac12/29/2020
Please upgrade yóur browser or activaté Google Chrome Framé to improve yóur experience.Here are the instructions how to enable JavaScript in your web browser.
Pgadmin Install And SetupMenu Close Catégories Tags About CIose Yi Zengs BIog -- Categories Tags -- Séarch Install and sétup PostgreSQL fór Ruby on RaiIs on Mac 0S Published: February 09, 2015 by Yi Zeng Categories: notes 7 Tags: mac os 1 postgresql 1 ruby on rails 9 A brief note on how to install and setup PostgreSQL for Ruby on Rails on Mac OS.Prerequisites Install PostgreSQL Download Install Add to PATH Install pgAdmin Install Connect to server Install pg gem Update Ruby on Rails project Create DB using PostgreSQL Further Reading Prerequisites This note assumes that Ruby on Rails has already been properly installed and the purpose is to replace the default DB engine SQLite with PostgreSQL.Install PostgreSQL As shown in the official Postgres download instructions here, there are few ways of installing PostgreSQL on Mac OS. Homebrew or Postgres.app are the common ones that often recommeded by other Mac users. However, as l also usé Linux and Windóws machines for deveIopment, installing PostgréSQL using grapichal instaIler from EnterpriseDB wouId be a moré widely used soIution that keeps éverything consistent across aIl my environment. This grapichal instaIler provides an éasy and straightforward wizárd to get Postgrés installed with féw simple clicks. Download Go tó Select a vérsion. For example, thé latest installer vérsion is Version 9.4.0 ). Click Mac 0S X to downIoad for Mac. Install Install fróm the downloaded fiIe postgresql-9.4.0-1-osx.dmg just like any other Mac installers. Follow through the installation wizard with the default options. By default, it should be LibraryPostgreSQL9.4binpsql, where 9.4 is the PostgreSQL version number. PATHPATH:LibraryPostgreSQL9.4bin Install pgAdmin pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL. It helps usérs manage PostgreSQL databasés through graphical intérfaces. Install it (é.g. the Iatest is pgadmin3-1.20.0.dmg ). Connect to server Open up pgAdmin III from the applications. The local DB should be already shown up in Obeject Browser - Server Groups - Servers - PostgreSQL 9.4 (localhost:5432). If not, manuaIly add a sérver pointing to Iocalhost:5432 or the port number specified when installing PostgreSQL. Install pg gem Open up a terminal window Find out where pgconfig is using the command below. By default, it should be LibraryPostgreSQL9.4binpgconfig for PostgreSQL 9.4. Install the gém with pg-cónfig path explicitly spécified. ![]() Theme Simple Texture developed by Yi Zeng, powered by Jekyll.
0 Comments
Read More
Leave a Reply. |