As per these PT Stories, the SmartGraphs authoring project will be retiring.
This repo contains archives of the activities, 'closed' signs, and project documentation.
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.
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
- install the s3_website gem
gem install s3_website
- Copy the
.env_sample
file to make a local.env
that will automatically be used by s3_website to upload and sync content. - make changes in
_site/*
and uses3_website push
to update the bucket and CDN. - To change configuration for any reason, edit
s3_website.yml
and then runs3_website cfg apply
- This will update the website at
smartgraphs-closed.concord.org
as specified in the filesmartgraphs-closed/s3_website.yml
. Read that file for more details.
To rebuild the AWS S3 site of archived SmartGraphs activities:
- optionally make changes to the index file
index.html.erb
- run
./slurp.rb
to copy activities from production websiteto _site
- 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) - 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. - commit changes to this repo.
- push changes to S3
s3_website push
from within theactivity-archive
folder - this will update the site at http://smartgraphs-activity-arch.concord.org/
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.)