Coder Social home page Coder Social logo

valentine237 / pyramid-react-journal Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cewing/pyramid-react-journal

0.0 0.0 0.0 1.74 MB

A Pyramid-based Learning Journal with react front-end and social authentication.

Shell 0.01% JavaScript 97.66% Python 1.92% CSS 0.40% Mako 0.02%

pyramid-react-journal's Introduction

Pyramid/React Learning Journal

This package implements a multi-user learning journal using the Pyramid web framework. The front-end will evolve to be implemented with ReactJS.

The journal features user authentication via GitHub, with whitelisting via configuration.

Installation

Some rough notes on getting this up and running.

Pyramid Application

$ git clone [email protected]:cewing/pyramid-react-journal.git
$ cd pyramid-react-journal
$ python3 -m venv ./
$ . bin/activate
(pyramid-react-journal)$ pip install -r requirements.pip
...
$ pip install -e .
...
$ bin/pserve development.ini

React Application and CSS

$ npm install
...
$ gulp

Deployment

This application comes with an ansible-based deployment strategy.

  • Begin by installing ansible (note that ansible is not compatible with Python 3 as of this writing).
  • Set up a remove server of your choice. The configuration for ansible is slanted toward using an Ubuntu 14.04 instance on AWS, but that is not a strict requirement.
  • ensure that you have set the hosts property in ansible/playbook.yml properly.
  • verify the host vars for your host. Standard vars for an AWS Ubuntu deployment are in ansible/group_vars/tag_Name_Class_Learning_Journal.yml.

The to execute the deployment playbook, run:

$ ansible-playbook -i <your inventory file> playbook.yml

For the standard deployment (AWS, Ubuntu 14.04), the incantation uses an EC2 dynamic inventory script, and looks like this:

$ ansible-playbook -i plugins/inventory/ playbook.yml

pyramid-react-journal's People

Contributors

cewing avatar nhuntwalker avatar

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.