forked from JoyiSystem/goerp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Joyi
authored and
Joyi
committed
Jun 2, 2017
1 parent
cf438cb
commit 0fd31de
Showing
1,580 changed files
with
677,482 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
*.js linguist-language=Go | ||
*.css linguist-language=Go | ||
*.html linguist-language=Go | ||
*.go linguist-language=Go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
# Binaries for programs and plugins | ||
*.exe | ||
*.dll | ||
*.so | ||
*.dylib | ||
|
||
# Test binary, build with `go test -c` | ||
*.test | ||
#ignore compile file | ||
|
||
# Output of the go coverage tool, specifically when used with LiteIDE | ||
*.out | ||
|
||
# Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736 | ||
.glide/ | ||
.project | ||
*.exe | ||
*.exe~ | ||
.vscode/ | ||
goERP.* | ||
debug | ||
debug~ | ||
.idea | ||
logs/*.log | ||
/conf/app.conf | ||
goERP.sqlite3 | ||
goERP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM golang | ||
|
||
ENV APP_HOME /go/src/goERP | ||
|
||
RUN mkdir -p $APP_HOME | ||
|
||
WORKDIR $APP_HOME | ||
|
||
ADD . $APP_HOME | ||
|
||
RUN go get github.com/tools/godep \ | ||
&& go get github.com/beego/bee \ | ||
&& godep restore | ||
|
||
CMD go run main.go |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# goERP | ||
基于beego的进销存系统 | ||
|
||
数据库的结构参考了odoo的设计 | ||
|
||
管理界面采用的是开源的adminLTE | ||
|
||
由于公司销售的是黄金饰品,产品管理上面需要两个单位来管理,故在设计上直接使用了两个单位(暂时不添加第二单位) | ||
|
||
数据库采用的是postgresql,版本中的数据库连接到自己的阿里云服务器 | ||
|
||
包含了全国省市区的地址信息,初始化数据在init_xml中,包括系统管理员的帐号信息 | ||
|
||
目前底层结构设计改动变化较大 | ||
|
||
 | ||
|
||
 | ||
|
||
|
||
|
||
 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
appname = goERP | ||
httpport = 8888 | ||
runmode = dev | ||
copyrequestbody = true | ||
sessionon = true | ||
|
||
#开启监控 | ||
EnableAdmin = true | ||
|
||
pageoffset = 20 | ||
#防止跨站请求伪造 | ||
enablexsrf = true | ||
xsrfkey = 61oETzKXQAGaYdkL5gEmGeJJFuYh7EQnp2XdTP1o | ||
xsrfexpire = 3600 | ||
|
||
#重新运行时是否覆盖原表创建 | ||
cover_db = false | ||
|
||
#数据库类型:postgres/mysql/sqlite3 | ||
db_type = "postgres" | ||
|
||
#postgreSQL配置 | ||
[postgres] | ||
db_alias = "default" | ||
db_name = "ERP" | ||
db_user = "postgres" | ||
db_pwd = "" | ||
db_host = "db" | ||
db_port = 5432 | ||
db_sslmode = "disable" | ||
#sqlite3 | ||
[sqlite3] | ||
db_alias = "default" | ||
db_name = "goERP.sqlite3" | ||
|
||
[lang] | ||
types=en-US|zh-CN | ||
names=English|简体中文 | ||
#日志配置 | ||
[log] | ||
#cache配置 | ||
[cache] | ||
cache = redis | ||
#redis 的默认端口为6379 | ||
redis_host = "cache:6379" | ||
cache_expire = 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
appname = goERP | ||
httpport = 8888 | ||
runmode = dev | ||
copyrequestbody = true | ||
sessionon = true | ||
|
||
#开启监控 | ||
EnableAdmin = true | ||
|
||
pageoffset = 20 | ||
#防止跨站请求伪造 | ||
enablexsrf = true | ||
xsrfkey = 61oETzKXQAGaYdkL5gEmGeJJFuYh7EQnp2XdTP1o | ||
xsrfexpire = 3600 | ||
|
||
#重新运行时是否覆盖原表创建 | ||
cover_db = false | ||
|
||
#数据库类型:postgres/mysql/sqlite3 | ||
db_type = "sqlite3" | ||
|
||
#postgreSQL配置 | ||
[postgres] | ||
db_alias = "default" | ||
db_name = "ERP" | ||
db_user = "go" | ||
db_pwd = "go" | ||
db_host = "localhost" | ||
#db_host = "192.168.21.141" | ||
# db_host = "115.28.11.86" | ||
db_port = 5432 | ||
db_sslmode = "disable" | ||
#sqlite3 | ||
[sqlite3] | ||
db_alias = "default" | ||
db_name = "goERP.sqlite3" | ||
|
||
[lang] | ||
types=en-US|zh-CN | ||
names=English|简体中文 | ||
#日志配置 | ||
[log] | ||
#cache配置 | ||
[cache] | ||
cache = redis | ||
#redis 的默认端口为6379 | ||
redis_host = "127.0.0.1:6379" | ||
memcache_host ="127.0.0.1:11211" | ||
cache_expire = 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[global] | ||
|
||
zh-CN = 简体中文 | ||
en-US = English | ||
systemName = goERP | ||
minSystemName = ERP | ||
loginName = Email/Mobile | ||
firstLogin = first login | ||
lastLoginTime = last login time | ||
password = Password | ||
rememberMe = Remember Me | ||
forgotPw = I forgot my password | ||
signIn = Sign In | ||
layoutOptions = Layout Options | ||
personlData = Personl Data | ||
signOut = Sign Out | ||
[login] | ||
title = Sign in to start your session |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[global] | ||
zh-CN = 简体中文 | ||
en-US = English | ||
systemName = goERP | ||
minSystemName = ERP | ||
loginName = 电子邮箱/手机号码 | ||
firstLogin = 第一次登录 | ||
lastIp = 上次登录地址 | ||
lastLoginTime = 上次登录时间 | ||
password = 密码 | ||
rememberMe = 记住我 | ||
forgotPw = 忘记密码 | ||
signIn = 登录 | ||
layoutOptions = 布局选项 | ||
personlData = 个人资料 | ||
signOut = 注销 | ||
[login] | ||
title = 登录 |
Oops, something went wrong.