2015-04-27 02:46:44 +00:00
|
|
|
# transmet
|
|
|
|
Quick fast dirty link store that can dump them to an html template
|
2015-05-02 17:13:33 +00:00
|
|
|
|
2015-05-02 17:14:31 +00:00
|
|
|
# Install
|
2015-05-02 17:13:33 +00:00
|
|
|
|
|
|
|
## DB setup
|
|
|
|
Create postgress DB and put details in db/dbconf.yml
|
2015-05-02 17:14:31 +00:00
|
|
|
|
2015-05-02 17:13:33 +00:00
|
|
|
on that DB
|
2015-05-02 17:14:31 +00:00
|
|
|
|
2015-05-12 05:06:28 +00:00
|
|
|
sudo apt-get install postgresql-contrib
|
|
|
|
|
2015-05-02 17:13:33 +00:00
|
|
|
CREATE EXTENSION pgcrypto;
|
|
|
|
|
|
|
|
go get bitbucket.org/liamstask/goose/cmd/goose
|
2015-05-02 17:14:31 +00:00
|
|
|
|
2015-05-02 17:13:33 +00:00
|
|
|
goose up
|
|
|
|
|
|
|
|
## Build and run
|
|
|
|
go build
|
2015-05-02 17:14:31 +00:00
|
|
|
|
2015-05-02 17:13:33 +00:00
|
|
|
sudo cp transmet.conf /etc/init
|
2015-05-02 17:14:31 +00:00
|
|
|
|
2015-05-02 17:13:33 +00:00
|
|
|
sudo service transmet start
|