Jitamin
安装环境要求
- PHP 5.6或更高(推荐使用PHP7)
- 数据库, 推荐使用MySQL 或 PostgreSQL。 当然SQLite也可以运行。
- Composer
安装手册
一. 克隆代码
假设我们把jitamin部署在 /var/www
- $ cd /var/www
- $ git clone https://github.com/jitamin/jitamin.git jitamin
- $ cd jitamin
二. 设置配置文件
- $ cp .env.example .env
根据实际情况修改
.env
相关配置文件,重点关注数据库相关的设置。
三. 安装依赖包
- $ composer install -o --no-dev
四. 安装数据库迁移和初始数据
- 创建数据表
- vendor/bin/phinx migrate
- 安装初始数据
- vendor/bin/phinx seed:run
Windows环境请将上述命令中的
vendor/bin/phinx
替换为vendor\robmorgan\phinx\bin\phinx.bat
五. 确保bootstrap/cache和storage目录可写。
- $ chmod -R 0777 bootstrap/cache
- $ chmod -R 0777 storage
可选步骤
- $ php artisan config:cache
- $ php artisan route:cache
六. 配置Web服务器
请将Web服务器的根目录指向 public/
, 请参考 examples/ 下的相关配置文件,里面包含 Apache和Nginx的配置范例。
注意:
examples/
提供的仅仅是范例,并不能保证直接拷贝就能使用,需要根据实际情况进行相关配置调整。
七. 通过浏览器访问
安装完成后,请通过浏览器访问你的Jitamin网址,如:http://jitamin.yourdomain.com
初始管理员的用户名和密码:
- 用户名:
admin
oradmin@admin.com
- 密码:
admin
升级步骤
一. 获取最新代码
- $ git fetch --all
- $ git checkout latest_tag // 请将 latest_tag 修改为最新的tag,比如:0.4.4
二. 更新依赖
- $ composer install -o --no-dev
三. 更新数据表
- vendor/bin/phinx migrate
Windows环境请将上述命令中的
vendor/bin/phinx
替换为vendor\robmorgan\phinx\bin\phinx.bat
可选步骤
- $ php artisan config:cache
- $ php artisan route:cache
系统演示
体验Jitamin, 请访问 http://jitamin.com:
一. 使用Github账号
请点击登录页下方的
Login with my Github Account
二. 普通用户
- 用户名:
test
ortest@test.com
- 密码:
test123
三. 管理员用户
- 用户名:
jitamin
orjitamin@jitamin.com
- 密码:
jitamin
开发相关
Jitamin代码里自带编译后的前端静态资源。如果你不想修改前端样式,请直接忽略本环节。
工具集:
- Node.js
- Bower
- Gulp
- yarn install || npm install
- bower install
- gulp
License
Jitamin is licensed under the license of MIT. See the LICENSE for more details.
Jitamin is a fork based on Kanboard. Kanboard is Copyright Frédéric Guillot and others.
Jitamin的更多相关文章
- 2018-8-29安装Jitamin过程实录
2018-8-29安装Jitamin过程实录 新建 模板 小书匠 欢迎走进zozo的学习之旅. 简介 安装 nginx + php + mysql 安装composer 安装Jitamin 简介 在考 ...
- jitamin配置(nginx设置)
server { listen 66; server_name 192.168.2.253; root "/var/www/jitamin/public"; location / ...
- jitamin基于lnmp环境搭建
从github上面下载源代码 cd /Data/apps/nginx/html git clone https://github.com/jitamin/jitamin.git 修改配置文件 cd ...
- 如何在PHP项目中使用phinx进行数据迁移和建表
建表 phinx\bin\phinx.bat migrate -e production 建设 phinx.yml文件 paths: migrations: %%PHINX_CONFIG_DIR%%\ ...
- 2018-9-25kanboard安装及使用
2018-9-25kanboard安装及使用 教程 小书匠 欢迎走进zozo的学习之旅. 简介 运行官方docker容器 使用kanboard 简介 Kanboard的安装提供了两种方式一种是直接安 ...
随机推荐
- [hibernate]org.hibernate.PropertyAccessException: Null value was assigned to a property of primitive type setter
org.hibernate.PropertyAccessException: Null value was assigned to a property of primitive type sette ...
- swift--添加新手引导页
swift和oc逻辑上都是一样的,只是写法不一样,可以使用一个view,也可以使用一个viewController,两种都可以的,使用view注意初始化的时候给他一个frame,vc的话,直接在本控制 ...
- 判断app是否是第一次启动
如何判断app是否是第一启动呢,第一次启动的时候,加载引导页面等, 一下是我的解决方案: 1.在"AppDelegate.h"中找到- (BOOL)application:(UIA ...
- GIS-001-gdal软件下载地址
http://www.gisinternals.com/ http://download.gisinternals.com/sdk/downloads/release-1600-x64-gdal-1- ...
- 【RF库Collections测试】Dictionary Should Contain Sub Dictionary
Name:Dictionary Should Contain Sub DictionarySource:Collections <test library>Arguments:[ dict ...
- Effective C++ —— 定制new和delete(八)
STL容器所使用的heap内存是由容器所拥有的分配器对象管理,不是被new和delete直接管理.本章并不讨论STL分配器. 条款49 : 了解new-handler的行为 当operator new ...
- <转>与EM相关的两个算法-K-mean算法以及混合高斯模型
转自http://www.cnblogs.com/jerrylead/archive/2011/04/06/2006924.html http://www.cnblogs.com/jerrylead/ ...
- c++11——move/forward
std::move c++11中提供了std::move()来将左值转换为右值,从而方便的使用移动语义.move是将对象的状态或者所有权从一个对象转移到另一个对象,只是转移,没有内存拷贝. c ...
- C# EMS Client
从 C# 客户端连接 Tibco EMS 下面例子简要介绍 C# 客户端怎样使用 TIBCO.EMS.dll 来连接 EMS 服务器. using System; using System.Diagn ...
- springjdbc的批量操作
这里主要是看的官方文档,如何翻译: NamedParameterJdbcTemplate The NamedParameterJdbcTemplate class adds support for p ...