flask-react-boilerplate

  • Owner: alexkuz/flask-react-boilerplate
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Flask React Boilerplate

Production-ready, one-click deployable boilerplate for React, Webpack, Flask and PostgreSQL.

One-click production deployment

Deploy

This is what you will get:

https://flask-react-boilerplate.herokuapp.com/

Local installation

You'll neel a little more than one click.

Prerequisites:

Clone repository:

git clone https://github.com/alexkuz/flask-react-boilerplate.git

cd react-webpack-boilerplate

Install npm dependencies:

npm install

Setup python environment and install dependencies:

virtualenv venv

source venv/bin/activate     # or venv/bin/activate.fish or whatever

pip install -r requirements.txt

Copy .env.example config file to .env:

cp .env.example .env

Start PostgreSQL service if needed:

pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start

Create database tables:

heroku local initdb

Finally, start local server:

heroku local web

open http://localhost:3001

What do we have here?

License

Copyright 2015, Alexander Kuznetsov <alexkuz@gmail.com>

This boilerplate is based on React Webpack Boilerplate: MIT © Søren Brokær

Main metrics

Overview
Name With Owneralexkuz/flask-react-boilerplate
Primary LanguageJavaScript
Program languagePython (Language Count: 3)
Platform
License:MIT License
所有者活动
Created At2015-05-29 07:51:50
Pushed At2016-12-26 18:54:42
Last Commit At2016-02-10 12:46:58
Release Count0
用户参与
Stargazers Count366
Watchers Count15
Fork Count57
Commits Count30
Has Issues Enabled
Issues Count10
Issue Open Count6
Pull Requests Count2
Pull Requests Open Count2
Pull Requests Close Count1
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private