Watch webpages for changes.
- Create a Postgres database named
urlscraper:$ createdb urlscraper. - Initialize and migrate the database:
go run db/main.go. - Install the Node.js dependencies:
npm install. - Rebuild the CSS:
npm run css. - Rebuild the JS:
npm run js. - Start the application:
go run main.go.
The following environment variables must be set.
DSN– The Postgres DSN.CLIENT_ID- The DO OAuth client ID.CLIENT_SECRET- The DO OAuth client secret.REDIRECT_URL- The DO OAuth redirect URL.