diff --git a/README.md b/README.md index ddba43d..cc1cccd 100644 --- a/README.md +++ b/README.md @@ -33,3 +33,11 @@ Done your project + want to submit it to get your grant? Submit it in the form h Remember to read through the [submission guidelines](https://highway.hackclub.com/advanced/submitting) before submitting! # Ready. Set. Build! + +--- + +# Website development + +Ooooh, you're in the README to figure out how the actual highway website works? Sure! + +It's a standard rails codebase, but when you first start up you might want to run `bin/rails projects:clone` to download all the submissions. \ No newline at end of file diff --git a/lib/tasks/clone_projects.rake b/lib/tasks/clone_projects.rake new file mode 100644 index 0000000..8bb2a46 --- /dev/null +++ b/lib/tasks/clone_projects.rake @@ -0,0 +1,6 @@ +namespace :projects do + desc "Clone or update all projects from submissions.yml" + task clone: :environment do + CloneProjectsJob.perform_now + end +end