arche

command module
v0.0.0-...-00e0705 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2018 License: MIT Imports: 18 Imported by: 0

README

ARCHE

Blog Tool, Publishing Platform, and CMS (By Go and React).

Usage

  • Install go

    export GOPATH=/opt/go
    export PATH=$GOPATH/bin:$PATH
    
  • npm

    mkdir ~/.npm-global
    npm config set prefix '~/.npm-global'
    export PATH=~/.npm-global/bin:$PATH
    
  • Build

    go get -u github.com/chonglou/arche
    cd $GOPATH/src/github.com/chonglou/arche
    make init
    make clean
    make
    
  • create database(for postgresql)

    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;
    
  • Generate a random key

    openssl rand -base64 32
    

Atom plugins

enable autosave

  • go-plus
  • file-icons
  • atom-beautify(enable newline, beautify on save; need python-sqlparse)
  • language-babel
  • language-ini

Documents

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL