Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

遵循 PORT 环境变量 #264

Merged
merged 1 commit into from Mar 29, 2017
Merged

Conversation

wei
Copy link
Member

@wei wei commented Mar 28, 2017

Honor PORT environment variable as a secondary to port file.
在没有本地 port 文件时遵循 PORT 环境变量。

本地调试使用方法:

image

安装版使用方法:

  1. 推荐:pm2.jsonenv block 里添加 PORT 如下:
    "env": {
      "PORT": 8000
    }
  1. 设置系统环境变量

Fixes #261.

使 Firekylin 在没有本地 port 文件时遵循 PORT 环境变量
@wei wei changed the title 使 Firekylin 在没有本地 port 文件时遵循 PORT 环境变量 遵循 PORT 环境变量 Mar 28, 2017
@lizheming lizheming merged commit eeaed6b into firekylin:master Mar 29, 2017
@lizheming
Copy link
Collaborator

其实你直接使用 node www/production.js 8888 也是可以通过命令行指定端口的 😃

wei added a commit to wei/firekylin that referenced this pull request Apr 1, 2017
…lin#264)

使 Firekylin 在没有本地 port 文件时遵循 PORT 环境变量
lizheming pushed a commit that referenced this pull request Apr 5, 2017
* updated sitemap to include pages

* update sitemap to include home page

* update sitemap to include tags

* update sitemap priority

* Updated firekylin theme header for tag and category pages

* added canonical headers to follow google seo best practices

* 审核通过时可更新发帖时间 (#259)

首次审核通过时可更新发帖时间,时间更新在服务器端进行,后台添加选项控制是否更新。

* rm docs sub module

* Honor PORT environment variable as a secondary to `port` file (#264)

使 Firekylin 在没有本地 port 文件时遵循 PORT 环境变量

* rm import in webpack config

* 修改搜索结果页分页 (#269)

* 修复搜索为空时跳转site错误

* fix #267

* add user list

* 文章列表页添加自动摘要功能 (#252)

* 发布文章添加自动摘要功能

* 文章列表页添加自动摘要;后台添加自动摘要的设置项

* 安装版本数据库文件添加 auto_summary 选项;恢复创建文章时自动创建摘要

* 取消列表页中在运行时截取摘要的功能

*  Get back ..

* 把 Post 中部分公用的方法分离到 Model

* 添加保存自动摘要配置时自动重新生成摘要信息并保存到数据库

* add latest yarn.lock

* update gitter url

* 修改dashboard链接 (#272)

* 添加关键字, 描述的判断, 防止出现空值情况
* 替换dashboard中链接

* Completed sitemap stage 1

* Sitemaps and SEO enhancements

* Updated per comments on #280

* Use `categories` from base

* Updated `tagList` to `tags`.

* Added `postsListSize` to `firekylin.sql`

* Wrong operator for page calculation
lizheming pushed a commit that referenced this pull request Apr 8, 2017
使 Firekylin 在没有本地 port 文件时遵循 PORT 环境变量
lizheming pushed a commit that referenced this pull request Apr 8, 2017
* updated sitemap to include pages

* update sitemap to include home page

* update sitemap to include tags

* update sitemap priority

* Updated firekylin theme header for tag and category pages

* added canonical headers to follow google seo best practices

* 审核通过时可更新发帖时间 (#259)

首次审核通过时可更新发帖时间,时间更新在服务器端进行,后台添加选项控制是否更新。

* rm docs sub module

* Honor PORT environment variable as a secondary to `port` file (#264)

使 Firekylin 在没有本地 port 文件时遵循 PORT 环境变量

* rm import in webpack config

* 修改搜索结果页分页 (#269)

* 修复搜索为空时跳转site错误

* fix #267

* add user list

* 文章列表页添加自动摘要功能 (#252)

* 发布文章添加自动摘要功能

* 文章列表页添加自动摘要;后台添加自动摘要的设置项

* 安装版本数据库文件添加 auto_summary 选项;恢复创建文章时自动创建摘要

* 取消列表页中在运行时截取摘要的功能

*  Get back ..

* 把 Post 中部分公用的方法分离到 Model

* 添加保存自动摘要配置时自动重新生成摘要信息并保存到数据库

* add latest yarn.lock

* update gitter url

* 修改dashboard链接 (#272)

* 添加关键字, 描述的判断, 防止出现空值情况
* 替换dashboard中链接

* Completed sitemap stage 1

* Sitemaps and SEO enhancements

* Updated per comments on #280

* Use `categories` from base

* Updated `tagList` to `tags`.

* Added `postsListSize` to `firekylin.sql`

* Wrong operator for page calculation
wei added a commit to wei/firekylin that referenced this pull request Dec 26, 2017
…lin#264)

使 Firekylin 在没有本地 port 文件时遵循 PORT 环境变量
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants