Hobby project.
It contains:
- Web server serving static website with TLS. (previously - Aracki/aracki.me)
- Unique site visits counter with MongoDB.
- Playing with Youtube playlists/videos.
Create configuration files in the root directory according to approprate template files.
mongo_config.yml
config.yml
Download all libraries into your vendor folder:
dep init
dep ensure
- Run mongodb:
mongod --dbpath data/db/
- Run application:
go run cmd/aracki/main.go -y=false >> logfile 2>&1 &
from the root of the project.
Use flag -m=false
to run without mongodb.
Use flag -y=false
to run without gotube.
Ampersand &
will start the process in the background.
Pipe to tee logfile
to split logs into stdout and file.