A complete open source e-commerce solution for the Go language(STILL IN DEVELOPMENT).
Usage
go get -u github.com/kapmahc/fly
cd $GOPATH/src/github.com/kapmahc/fly
# download packages
make init
# build
make
ls dist
Devleopment
cd $GOPATH/src/github.com/kapmahc/fly
# generate config.toml
go run main.go g c
# generate nginx.conf
go run main.go g ng
sudo ln -s $GOPATH/src/github.com/kapmahc/fly/etc/nginx/sites-enabled/localhost.conf /etc/nginx/sites-enabled/
sudo nginx -s reload
# start server
./run.sh
Create database
psql -U postgres
CREATE DATABASE db-name WITH ENCODING = 'UTF8';
CREATE USER user-name WITH PASSWORD 'change-me';
GRANT ALL PRIVILEGES ON DATABASE db-name TO user-name;
rabbitmq-plugins enable rabbitmq_management
rabbitmqctl add_user test test
rabbitmqctl set_user_tags test administrator
rabbitmqctl set_permissions -p / test ".*" ".*" ".*"
"RPC failed; HTTP 301 curl 22 The requested URL returned error: 301"