# selfbank
**Repository Path**: ymc023/selfbank
## Basic Information
- **Project Name**: selfbank
- **Description**: 个人记账系统
- **Primary Language**: JavaScript
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-08-04
- **Last Updated**: 2021-08-04
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
SelfBank
====
Author:ymc023 Email:ymc023@163.com
###前言
____
##### SelfBank 是一个用php+js写的B/S个人(家庭)账务管理系统!
##### SelfBank 包含自定义收入/支出账务类型,记流水账,账目内容修改,及按需查询及导出成excel
##### SelfBank 使用highcharts生成直观的图表显示!可导出JPG.PDF等格式的图表数据!
>运行环境:
>php >=5.4, (nginx/apache/...),(Mysql/MariaDB)
安装前提:
>准备好web服务器,安装好数据库及php.当然,你还要有数据库的root账号及密码.
默认账号:
>selfbank,selfbank 为连接数据库创建的默认账号!
>admin,admin@admin 为登录系统默认账号 !
###注意
>需要使用google chrome才能保证日期选择正常使用!
>需要服务器正常连接互连网,才能保证首页的图像正常显示,否则首页是一片空白!(因为jquery.js是cdn上的)
>账务明细导出成csv / excel,如果乱码!请按如下方法操作: 查询-->导出csv 会生一个为*.csv/xls的文件。用记事本打开-->另存为-->选择编码为Unicode 或是Utf-8
>如果需要改首页的图表显示,可以修改chart.php中的代码实现
###安装
____
##### 可用install.php安装sql.也可以用source selfbank.sql
>1.git clone https://github.com/ymc023/selfbank.git or Download selfbank.zip
>2.cp -rf selfbank/ /var/www/.... //copy php源文件到www或其他自定义路径下
>3.vi selbank/config.php
```
$db_servername="localhost";//修改成自己Mysql服务器地址
```
```
$db_username="root";//修改成自己数据库用户名
```
```
$db_password="$@albck$#-*723";//修改成自己数据库密码
```
```
$db_dbname="selfbank";//数据库
```
```
$qianzui="selfbank_";//表前缀
```
>4.配置好web服务,打开http://serverip or domainname/install.php
>5.系统默认会创建selfbank账号与密码,请更新到config.php中。
====
###使用
____
>1.安装页面 http://serverip/install.php
>
>2. 登录页面 http://serverip/
>
>3. 首页显示 http://serverip/index.php
>
>4. 图片导出
>
>5. 新建分类
>
>6. 添加记录
>
>7. 账目修改
>
>8. 账务查询
>
>
>9. 修改密码
>
COPYRIGHT
------
Copyright (C) 2016, ymc023. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.