Giter Club home page Giter Club logo

flask-react-boilerplate's Introduction

Flask React Boilerplate

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

One-click production deployment

Deploy

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:

foreman run python server/initdb.py

Finally, start local server:

foreman start

open http://localhost:3001

What do we have here?

License

Copyright 2015, Alexander Kuznetsov <[email protected]>

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

flask-react-boilerplate's People

Contributors

alexkuz avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

rubythonode

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.