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.
bundle install
to install dependenciesrake db:create
to create database.psql "pdr_dev" < db/data/pdr_dev.sql
rake db:migrate
to migrate the databaserails
with rails server
redis
with redis-server /usr/local/etc/redis.conf
(OS X, brew install redis
)sidekiq
with the sidekiq
commandAlternatively, 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
bundle install
to ensure the latest pdr_client
is being refrencedRAILS_ENV=production S3_KEY=i S3_SECRET=i bundle exec rake assets:precompile ROLLBAR_ENV=production ROLLBAR_TOKEN=xxxxx
to precompile assetsgit 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.
rake db:drop RAILS_ENV=test
to remove any test dbrake db:create RAILS_ENV=test
to remove any test dbrake db:schema:load RAILS_ENV=test
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.