GithubHelp home page GithubHelp logo

xiaopohou / gocms Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gocms-io/gocms

0.0 2.0 0.0 250 KB

Boilerplate for goCMS application

License: MIT License

CSS 4.57% HTML 12.39% JavaScript 26.28% Go 56.45% Shell 0.31%

gocms's Introduction

GoCMS

Generate Docs

To generate api docs you need to have apidocs installed

Note apidocs will only work on MacOS and Linux
npm install apidoc -g

.env

You will need to have a .env file to do local development with. It goes in the root of the project file. ex:

    # DB Local
    DB_NAME=goCMS
    DB_USER=goCMSbp
    DB_PASSWORD=password
    DB_SERVER=tcp(localhost:3306)

Setup Database

  1. Download MySQL Workbench here:
https://dev.mysql.com/downloads/workbench/
  1. Create a MySQL connection in Workbench (if you don't have one)
    Connection Name: localhost
    Hostname: 127.0.0.1
    Port: 3306
    Username: root
  1. Create a New Schema (database icon)
Schema Name: goCMS
  1. Add a New User
select 'Management Tab' > 'Users and Privliges' > 'Add Account'

    Login Name: goCMSbp
    Limit to Hosts Matching: localhost
    Password: password
    Confirm Password: password

    In the same window, go to 'Schema Privliges Tab' > 'Add Entry...'
    Selected Schema: goCMS

    With the goCMS schema selected, 'SELECT "ALL"' (should select all privliges)
    click 'Apply'

Install & Run govendor

    go get -u github.com/kardianos/govendor
    run govendor sync (in project root)

// TODO - Write optimizer for plugins and themes. Optimizer should look at vendor.js and theme_vendor.js - remove any repeates in theme-vendor.js and save to a secondary file

GRNow Backend Services

gocms's People

Contributors

menkveldj avatar

Watchers

James Cloos avatar 老赵 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.