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

📢wildfire-dev 开发者测试版 #36

Open
cheng-kang opened this issue Jul 11, 2018 · 0 comments
Open

📢wildfire-dev 开发者测试版 #36

cheng-kang opened this issue Jul 11, 2018 · 0 comments
Labels
Announcement Official announcements of this project.

Comments

@cheng-kang
Copy link
Owner

此 issue 为公告,因此未遵循 issue 模板。正常的 issue 应遵循 issue 模板创建。

经过很长一段时间之后,一些重要的功能更新终于在 wildfire 开发者测试版 中发布了。

当前最新的版本是:wildfire-dev@0.5.4

由于目前还没有明确的更新正式版的计划,如果想获得测试版本中对于一些以往的问题的修复或者体验新功能,请参照下方所述手动将版本切换到 wildfire-dev@0.5.4

使用方法

注意:由于新版本中数据结构和数据库安全规则有重大更新,为避免破坏以前的数据,需要新建一个数据库来运行新的版本。未来可能会推出一个脚本用于将以前的数据转移到新的数据库。

  1. 创建新的 Firebase / Wilddog 数据库项目,复制粘贴 安全规则

  2. 开启用户模块邮箱登录方式。

  3. 将一下代码添加到你的网站的恰当位置:

    <div class="wildfire_thread"></div>
    <script>
      var wildfireConfig = () => ({
        useDev: true, // 请使用这个配置项来启用开发者测试版
        version: '0.5.4', // 请使用这个配置项来指定特定版本号
        databaseProvider: 'firebase',
        databaseConfig: {
            apiKey: "...",
            authDomain: "...",
            databaseURL: "...",
            projectId: "...",
            storageBucket: "...",
            messagingSenderId: "..."
        },
      })
    </script> 
    <script src="https://unpkg.com/wildfire-comment"></script>

    新的版本将使用 wildfire-comment 来加载 wildfire

新功能

修复

展示

我的个人博客正在使用 wildfire-dev@0.5.4https://chengkang.me/2017/12/19/introduction-to-wildfire/#License

@cheng-kang cheng-kang added the Announcement Official announcements of this project. label Jul 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Announcement Official announcements of this project.
Projects
None yet
Development

No branches or pull requests

1 participant