# dyr-framework **Repository Path**: michaelzhan/dyr-framework ## Basic Information - **Project Name**: dyr-framework - **Description**: 电影人前端框架 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2016-12-01 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ionic-site ========== ## 框架主要介绍 ### 安装步骤 1. Install jekyll (may require sudo): `gem install jekyll` 2. Run `npm install` 3. Run `gulp watch` ### 简要介绍 0. 本工程基于Ionic Site站点改造而成,可支持markdown文件生成html 1. /docs目前放入文档资料(API为指令等文档,components为样式简介) 2. /scss/dyr-ui.scss准备放入电影人UI框架样式 3. /_layouts存放布局文件 4. /_layouts中的文件会引用_includes文件 5. /_site为编译后的网站 6. /api下的所有md文件会根据当前文件上面的配置信息生成对应的html 7. 已经在原有项目中去除了很多内容,还有部分不太了解 ### 官方文档 Repo for the ionicframework.com site. To preview local Ionic changes, follow the instructions at the [Ionic repo](https://github.com/driftyco/ionic#documentation). gulp watch uses LiveReload. You may have to up your max file limit with the following command: ulimit -n 7000 ## CI Explanation Ionic v1 and v2 now automatically deploy their changes to an Ionic staging server. Ionic team members are given permission to the staging and production servers in Heroku. V1 and V2 docs changes go as follows: 1. Change the content of the docs as necessary. 2. Optionally preview the changes by running `gulp docs` in the Ionic v1/2 repo, and `gulp watch` in ionic site, which should be a sibling directory of the `ionic` and `ionic2` repos. 3. Commit and push changes 4. Sit back. The [Ionic v1 CI tasks](https://circleci.com/gh/driftyco/ionic) and the [Ionic v2 CI tasks](https://circleci.com/gh/driftyco/ionic2) will generate the new docs and push them to the `ionic-site` repo. The `ionic-site` CI tasks will then build them and automatically deploy them to the staging server. 5. Preview changes on the [staging server](http://ionic-site-staging.herokuapp.com/) and promote the changes to production if all looks well. Be sure to give the site a quick look over to make sure things look good. ## Deploy Install [heroku-toolbelt](https://toolbelt.heroku.com/) or with homebrew ```bash brew install heroku-toolbelt ``` Install [heroku-pipelines](https://devcenter.heroku.com/articles/pipelines) ```bash heroku plugins:install heroku-pipelines ``` Then log into heroku ```bash heroku login # enter your email and password when promted ``` Then add the heroku remotes ```bash git remote add production https://git.heroku.com/ionic-site.git ``` ```bash git remote add staging git@heroku.com:ionic-site-staging.git ``` - Make your changes - Run `gulp` - `git push origin master` - View the staging server at [http://ionic-site-staging.herokuapp.com/](http://ionic-site-staging.herokuapp.com/) - Promote the staging server to production - `heroku pipelines:promote -r staging` - Watch the build server at [https://circleci.com/gh/driftyco/ionic-site](https://circleci.com/gh/driftyco/ionic-site) ## Community * Follow [@ionicframework on Twitter](https://twitter.com/ionicframework). * Subscribe to the [Ionic Newsletter](http://ionicframework.com/subscribe/). * Have a question that's not a feature request or bug report? [Discuss on the Ionic Forum](http://forum.ionicframework.com/). * Read our [Blog](http://ionicframework.com/blog/). * Have a feature request or find a bug? [Submit an issue](https://github.com/driftyco/ionic/issues). ## Authors **Max Lynch** + + **Ben Sperry** + + **Adam Bradley** + +