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:
- You'll need go and Postgres to run the program
- You can install the files by doing typing
go install github.com/coolarif/Gator@latest
- Look at how to setup the database at Setting up the database
- Read the Usage guide on how to enter commands into your command line.
Setting up the database
- Install postgres.
For Linux/WSL:
sudo apt update
sudo apt install postgresql postgresql-contrib
For MacOS:
brew install postgresql@16
-
Check it is installed with
psql --version
-
Set up password (for linux only)
sudo passwd postgres
-
Set up the postgres server in the background
for Mac:brew services start postgresql
for Linux:sudo service postgresql start
-
Enter the psql shell:
for Mac:psql postgres
for Linux:sudo -u postgres psql
You should now see a prompt like this:
postgres=#
- Create a new database, I called mine Gator:
\c gator
You should see a new prompt that looks like this
gator=#
- 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