项目作者: reph-stack

项目描述 :
Phoenix/React application starter kit
高级语言: Elixir
项目地址: git://github.com/reph-stack/reph.git
创建时间: 2017-06-17T09:40:59Z
项目社区:https://github.com/reph-stack/reph

开源协议:

下载


Reph

@chvanikoff/reph-react-phoenix-app-scaffolding-made-easy-346cddc76838">About RePh

Reph is an acronym for REact + PHoenix stack. This library provides reph.new installer as an archive. It aims to replace phx.new for new projects, based on React/Phoenix stack, scaffolding.

Some of the batteries included:

  • Webpack 2 pre-installed and set up
  • React and required dependencies pre-installed and set up
  • Less-compiler pre-installed and set up
  • SSR (Server-side rendering) set up
  • React-router set up to work with SSR
  • Websocket connection

Syntax of the reph.new command is the same as of phx.new, except for flags --no-brunch, --no-html, --dev, --ecto which are not supported.

To install, run:

  1. mix archive.install github reph-stack/reph

To build and install locally:

  1. $ MIX_ENV=prod mix archive.build
  2. $ mix archive.install

Once installed, you can scaffold an application in a following way, for example:

  1. mix reph.new myapp --database=mysql --module=APP