Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.26 KB

README.md

File metadata and controls

49 lines (32 loc) · 1.26 KB

Garden

A simple garden log visualized as a contribution graph. A Github profile for your plants.

example

Installing

Running Natively

Clone this repo on your favorite webserver, desginate a PostgreSQL database, and execute the install make target.

PGUSER=joshb PGDATABASE=fishpoopfarms make install

Running with Docker

You will need to set which postgres container to use in the .env file.

From a terminal run docker-compose up where the docker-compose.yml is located. Visual Studio users can right-click the docker-compose.yml and to bring the app up.

Note the src/ directory is synced to the webserver so there is no need to relaunch containers during development to test changes.


Multiple Domains

To map the server_name in the site.conf file, linux users will want to add entries to their /etc/hosts file. Windows users can edit C:\Windows\System32\drivers\etc\hosts to modify dns.

127.0.0.1 fishpoopfarm5.com
127.0.0.1 fishpoopfarm7.com
127.0.0.1 fishpoopfarm8.com

Note the hosts defined here must match the site.conf defined server_name.

Authors