如果你想找一个团队共享axure的文件,axure share太慢,而你又去看了mockups、pm大牛这一类半吊子不靠谱,那你可以试试你们团队都喜欢的github,git是版本控制器,hub是一个仓库,github就是一个托管管理我们code版本的平台。这次我们用的是github的pages服务,简单对我们来说作用就是可以查看Axure生成的html文件的。看了以下这个Axure共享,相信你会更了解程序同学是怎么搬砖的。全过程其实很简单。

使用github pages共享Axure生成的html文件,我们可以做到以下几点:
- 给团队随时在web或者手机查看原型文件(手机原型可以按分辨率设置);
- 团队不用装Axure插件就可以查看;
- 快捷更新Axure原型到固定网址,进行版本更新,团队打开原来的网址就可以看到最新修改过的原型;
- 文件放在云上,随时下拉修改,甚至回滚版本;
以下是实现方法:
1.第一步:前往注册github。不懂英文的右击翻译网站(chrome)






填写项目名称不要乱填(万一乱填了,没关系后面可以改),因为这个名是到时我们分享axure文件的结尾地址。也不要写中文,特殊符号,不识别~,空格会转成“-”。
选择public。

要是外网慢,可以点这个百度网盘地下,官网有下的情况,别随便去其它第三方平台下。
在下载安装完之后,我们在桌面打开github,sign into the github用同一账号密码登陆桌面端。

这时候先不管桌面端,我们先回到浏览器在github下载的页面点返回,回到项目的界面,再点一次set up in desktop,弹出圣诞框选打开,自然会弹出桌面端,把项目克隆到本地,local path 可以随便正常放项目的地址,这个是一会要放Axure生成的html文件的。

点击clone后,初始化基本就OK了,完成50%

这时候我们去Axure生成个文件,或者把我们之前做好的axure生成的html文件放到刚刚选择的本地文件夹!

生成html文件后,我们再返回来看github的changes多了157的changed files!按步骤填写一下本次版本的更新内容,提交至master分支!这个master分支其实下面可以建很多不同的分支,方便大家协作,公司的做的项目都这样的。

提交到master分支后,再点publish branch.把内容发布到github上。

但是现在还没好哦,我们还得回来到浏览器github里面的选择我们的项目,再点setting,这时候是可以改名的rename,但重点不是这个,重点是还要一直往下滑动到下面的pages服务,终于到达敌方水晶了!


终于我们得到发布后的地址了, https://lveaze1.github.io/pminsight/.

大功告成!但是遇到修改呢,点击打开就可以看到原型了。这次业务方要求一个五彩斑斓的黑色!怎么办?!我们再来一遍!修改了保持地址不变,确定就好!

再返回github,我们会发现多了一些更新,同样我们点提交点可以了。

我们再点开原地址https://lveaze1.github.io/pminsight,修改好了查看可以看到效果,没有变黑是不是?清一下浏览器缓存!
手机APP拓展:因为手机的浏览器也是可以打开html的文件,所以只要按手机分辨率生成html文件,只要用手机浏览器全屏打开,记得把左边的菜单隐藏,就和APP差不多了。

最后一个问题,攻城狮同学说打开太慢,怎么办?其实他就有方法,把原型托管到我们自己的服务器上就可以了~!github是国外的。相关配置,找他们就对了!
ok!剩下的就好好和团队的小伙伴好好做朋友吧!
网友评论