Tochka Free Market
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Prerequisites
- golang
- git
- Postgres
- tor / torsocks
Installing
To get Tochka running:
# 1. Get Tochka source code
torsocks go get -insecure qxklmrhx7qkzais6.onion/Tochka/tochka-free-market
# 2. Build Tochka from source
cd $GOPATH/src/qxklmrhx7qkzais6.onion/Tochka/tochka-free-market
go build
# 3. Sync DB models and supplementary data
su postgres
createdb go_t
psql go_t < dumps/cities.sql
psql go_t < dumps/countries.sql
exit
/tochka-free-market sync
# 4. Edit settings
cp settings.json.example settings.json
vim settings.json
# 5. Run HTTP server
./tochka-free-market
Go to http://localhost:8081/ and register a new user. Add admin privelegies to new account:
./tochka-free-market user <username> grant admin
zoritoler imol –
Loving the info on this website , you have done great job on the blog posts.