Categorygithub.com/coolarif123/Gator
modulepackage
0.0.0-20241111211228-cb12b090fae7
Repository: https://github.com/coolarif123/gator.git
Documentation: pkg.go.dev

# README

Gator

Website aggregator that uses postgres and go to keep up to date on the posts that matter to you!

Installation notes:

  1. You'll need go and Postgres to run the program
  2. You can install the files by doing typing go install github.com/coolarif/Gator@latest
  3. Look at how to setup the database at Setting up the database
  4. Read the Usage guide on how to enter commands into your command line.

Setting up the database

  1. Install postgres.

For Linux/WSL:

sudo apt update 
sudo apt install postgresql postgresql-contrib

For MacOS:

brew install postgresql@16
  1. Check it is installed with psql --version

  2. Set up password (for linux only) sudo passwd postgres

  3. Set up the postgres server in the background
    for Mac: brew services start postgresql for Linux: sudo service postgresql start

  4. Enter the psql shell:
    for Mac: psql postgres for Linux: sudo -u postgres psql

You should now see a prompt like this:

postgres=#
  1. Create a new database, I called mine Gator:
\c gator

You should see a new prompt that looks like this

gator=#
  1. Set the user password (linux only)
ALTER USER postgres PASSWORD 'postgres';

In this case the password is postgres

Usage

To be Updated update check

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author