GithubHelp home page GithubHelp logo

forum-frontend's Introduction

Unmaintained

Sorry everyone, but we are no longer maintaining this project.

React China new Forum Frontend

Build Status

Gitter chat GitHub license

dependencies devDependency peerDependency


React 中文社区 React.js 版前端界面

状态

正在初始化项目

计划

  • 完成 JSX 基本开发框架
  • 梳理 Discourse API
  • 制定 Actions, Store, Router 规范
  • 完成顶层组件
  • 组件细化

Develop

npm i

You need a static file server for the HTML files. Personally I suggest using Nginx.

Develop:

gulp html # regenerate index.html
webpack-dev-server --hot # enable live-reloading

Build (Pack and optimize js, reivision js and add entry in index.html):

gulp build

Usage

npm run clean

Remove folder ./build

npm run dev

Runs the webpack build system just like in compile but enables HMR and react hot-loader. The webpack dev server can be found at localhost:3000.

npm run dev:debug

Same as npm run dev but enables --debug flag automatically.

npm run dev:quiet

Same as npm run dev but disables verbose debugging information.

npm run compile

Runs the Webpack build system with your current NODE_ENV and compiles the application to disk (~/build).

npm run test

Runs all tests for the application.

npm run test:unit

Similar to npm run test, but only runs unit tests. In development mode this will run in watch mode and re-run individual test files when they change.

npm run test:e2e

TODO

Contribution

License

MIT (http://www.opensource.org/licenses/mit-license.php)

forum-frontend's People

Contributors

fraserxu avatar geminiyellow avatar hysios avatar saber-kurama avatar tiye avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

forum-frontend's Issues

miss a file? `./src/page`

❯ gulp html                                                                                                                                                                      
[12:08:19]
[12:10:08] Requiring external module coffee-script/register
[12:10:10] Using gulpfile ~/Documents/forum-frontend/gulpfile.coffee
[12:10:10] Starting 'html'...
[12:10:12] 'html' errored after 1.15 s
[12:10:12] Error: Cannot find module './src/page'
  at Function.Module._resolveFilename (module.js:336:15)
  at Function.Module._load (module.js:278:25)
  at Module.require (module.js:365:17)
  at require (module.js:384:17)
  at Object.<anonymous> (/Users/hysios/Documents/forum-frontend/template.cirru:6:32)
  at Module._compile (module.js:460:26)
  at Object.require.extensions..cirru (/Users/hysios/Documents/forum-frontend/node_modules/cirru-script/lib/register.js:12:19)
  at Module.load (/Users/hysios/Documents/forum-frontend/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
  at Function.Module._load (module.js:310:12)
  at Module.require (module.js:365:17)
  at require (module.js:384:17)

项目名字

既然要做成适配 Discourse API 的项目,为什么不起个好听的名字呢?方便其他人拿去用

Can we stop upgrading modules and adding badges but really writing some code?

It's a good thing that we're trying to keep update to the latest cool stuff(#28), but seems that we're taking to much time on it.

There are already enough best practise here but I think it's time to actually write some really code. Like

  • sort out the router
  • hook the api with discourse
  • create real actions or stores

It's not a good sign that we already have 43 commits but none of them are real logic code related to this project.

I'd suggest we stop sending unrelated pull request but actually write some code and get shit done.

cc/ @react-china/forum-frontend

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.