Skip to content
/ fly-2 Public

A complete open source e-commerce solution for the Go language(STILL IN DEVELOPMENT).

License

Notifications You must be signed in to change notification settings

kapmahc/fly-2

Repository files navigation

FLY

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
make init
make

Devleopment

cd $GOPATH/src/github.com/kapmahc/fly
./run.sh

will listen at http://localhost:8080

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;

Issues

  • Rabbitmq Management Plugin(http://localhost:15612)

    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"

    git config --global http.https://gopkg.in.followRedirects true
  • 'Peer authentication failed for user', open file "/etc/postgresql/9.5/main/pg_hba.conf" change line:

    local   all             all                                     peer  
    TO:
    local   all             all                                     md5
    
  • Generate openssl certs

    openssl genrsa -out www.change-me.com.key 2048
    openssl req -new -x509 -key www.change-me.com.key -out www.change-me.com.crt -days 3650 # Common Name:*.change-me.com
  • Generate sitemap.xml.gz everyday

    @daily cd /var/www/www.change-me.com && ./fly seo
  • For gmail smtp

Atom plugins

  • go-plus
  • file-icons
  • linter
  • editorconfig

Documents

About

A complete open source e-commerce solution for the Go language(STILL IN DEVELOPMENT).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages