PDredesign is a digital toolkit for school districts dedicated to improving professional development for educators. The toolkit, including collaborative assessments and inventories, is freely available on PDredesign.org and can be used by any school district to transform existing professional development systems to better support teachers in the classroom. The PDredesign tools were co-designed by district leaders through a collaborative process facilitated by Alvarez & Marsal. Mobility Labs is bringing the PDredesign Toolkit online to enable any district to leverage the tools. PDredesign was developed with support from the Bill & Melinda Gates Foundation.
pdredesign-server is the API for the PDredesign website. It also
consumes the pdredesign-client gem. Which is an Angular client.
- Run
bundle installto install dependencies - Run
rake db:createto create database. - Import an existing database run
psql "pdr_dev" < db/data/pdr_dev.sql - Run
rake db:migrateto migrate the database - Start
railswithrails server - Start
rediswithredis-server /usr/local/etc/redis.conf(OS X,brew install redis) - Start
sidekiqwith thesidekiqcommand
Alternatively, foreman can be used to start everything by running foreman start. Note that
redis server needs to start independently since its more a platform dependency
- run
bundle installto ensure the latestpdr_clientis being refrenced - run
RAILS_ENV=production S3_KEY=i S3_SECRET=i bundle exec rake assets:precompile ROLLBAR_ENV=production ROLLBAR_TOKEN=xxxxxto precompile assets - Commit newly created assets to the repo and push to heroku
- push to heroku
git push heroku.
Specs are implemented with RSpec(3.x) and the expect syntax.
Specs can be run via spring rspec to run the test
suite.
- run
rake db:drop RAILS_ENV=testto remove any test db - run
rake db:create RAILS_ENV=testto remove any test db - run
rake db:schema:load RAILS_ENV=test - run
bundle exec rspec
This should be a one time database setup for the testing env
The rake db:create_default_toolkit - task creates the default toolkits.
The rake db:create_default_key_questions - task creates the default key questions.
We encourage you to contribute to the development of PDredesign. Please look at our Contributing guide for guidelines on how to proceed.
PDredesign is released under the MIT License.
