• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

madbook/reddit-mobile

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

madbook/reddit-mobile

开源软件地址(OpenSource Url):

https://github.com/madbook/reddit-mobile

开源编程语言(OpenSource Language):

JavaScript 84.6%

开源软件介绍(OpenSource Introduction):

reddit-mobile

Build Status

reddit-mobile is a web server and build system for building polymorphic React applications in node. It is part of a larger series of plugins that, together, form frontend applications for reddit.

See the wiki for an in-depth explanation of how everything fits together.

Getting Up and Running

  1. Install node.js v4.2 and npm 3.5
  2. Fork and clone this project.
  3. Run npm install to install other dependencies.
  4. Run git submodule update --init to download this project's submodules.
  5. Run npm run build to build the assets (npm run watch to set up a filesystem watcher.)
  6. Register a new oauth application and set up your environment variables. Redirect URI should be http://localhost:4444/oauth2/token.
  7. Run npm start to start the web server. Optionally, create a startup script at start.sh that sets environment variables and starts the server; start.sh has been added to the .gitignore and will not get checked in.
  8. If you need to work on dependencies (snoode, horse-react, etc):
    1. Delete the dependencies you installed from ./node_modules
    2. Fork and clone the dependencies somewhere
    3. Run npm link within the dependency that you cloned
    4. Repeat recursively if you need to work on a dependency's dependency
    5. Re-run the build and restart your server (npm run watch will watch linked files)
  9. Commit hooks - symlink hooks into .git/hooks (ln -s -f ./hooks .git/hooks), which will run some safety checks before committing and pushing code.



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap