mirror of
https://github.com/System-End/highway.git
synced 2026-04-19 14:17:03 +00:00
Add rake task for cloning projects
This commit is contained in:
parent
5ae122cd54
commit
edcdb98d18
2 changed files with 14 additions and 0 deletions
|
|
@ -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.
|
||||
6
lib/tasks/clone_projects.rake
Normal file
6
lib/tasks/clone_projects.rake
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue