20 lines
537 B
Makefile
20 lines
537 B
Makefile
run:
|
|
go run src/fetcher.go src/main.go src/types.go
|
|
|
|
populate:
|
|
go run src/scripts/bulk_insert/main.go -list ai-og
|
|
go run src/scripts/bulk_insert/main.go -list forecasting
|
|
go run src/scripts/bulk_insert/main.go -list whitehouse
|
|
go run src/scripts/bulk_insert/main.go -list signal
|
|
go run src/scripts/bulk_insert/main.go -list all
|
|
|
|
build:
|
|
go build ./src/*.go
|
|
|
|
systemd:
|
|
sudo cp twitter-fetcher.service /etc/systemd/system
|
|
sudo systemctl daemon-reload
|
|
sudo systemctl enable twitter-fetcher
|
|
sudo systemctl restart twitter-fetcher
|
|
|