Code Monkey home page Code Monkey logo

smartgraphs-archive's Introduction

SmartGraphs Retirement project

As per these PT Stories, the SmartGraphs authoring project will be retiring.

This repo contains archives of the activities, 'closed' signs, and project documentation.

Sub directories:

  • smartgraphs-closed โ€“ the "closed" sign which will display when people try to visit the SmartGraphs authoring site. This is published to an S3 bucket, and cloudfront CDN. For now this is living at http://smartgraphs-closed.concord.org. This should be changed when SmartGraphs authoring closes.
  • activity-archive โ€“ an archive of the SmartGraphs activities from the SmartGraphs authoring website. Should include a script to regenerate these files, and publish to S3 / cloudfront.

Instructions

This project uses the s3_website gem to publish to AWS S3 buckets. You will need to gather your Amazon S3 tokens and put them in to ./.env files (which should not checked in to this repo.)

Both directories should have the following layout:

 ./folder
    - _site
      - project_files
    .env
    .env_sample
    s3_website.yml
  1. install the s3_website gem gem install s3_website
  2. Copy the .env_sample file to make a local .env that will automatically be used by s3_website to upload and sync content.
  3. make changes in _site/* and use s3_website push to update the bucket and CDN.
  4. To change configuration for any reason, edit s3_website.yml and then run s3_website cfg apply
  5. This will update the website at smartgraphs-closed.concord.org as specified in the file smartgraphs-closed/s3_website.yml. Read that file for more details.

activity-archive specific instructions

To rebuild the AWS S3 site of archived SmartGraphs activities:

  1. optionally make changes to the index file index.html.erb
  2. run ./slurp.rb to copy activities from production website to _site
  3. run ./spcase.rb to special-case copy some activities (the authoring system was permissive with URLs and allowed activities/[number]-whatever-you-want -- in some cases these slugs were rewritten and need to be manually copied here in this repo)
  4. Add static/ directory to _site if its not there already. This should be copied from a SmartGraphs build or the SmartGraphs Authoring server. It contains required SmartGraphs and Sproutcore assetts.
  5. commit changes to this repo.
  6. push changes to S3 s3_website push from within the activity-archive folder
  7. this will update the site at http://smartgraphs-activity-arch.concord.org/

The Amazon AMI for SmartGraphs authoring

A private AMI was created ami-abb854c0 of the authoring system before the latest bug fixes (related to copying) were deployed. As soon as new changes go into production a new private AMI can be created.

The AMI's are private, because they include database credentials at the moment. If we want to create a public AMI, that work remains to be completed. (Idea: We could create a public AMI using sqllite in future.)

smartgraphs-archive's People

Contributors

knowuh 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.