-
-
Notifications
You must be signed in to change notification settings - Fork 730
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Leverage bin/setup within script/setup
And remove duplicate output. `bin/setup` is the Rails default for updating your environment after code updates and `script/setup` is our convenience script for the initial setup and starting with sample data.
- Loading branch information
Showing
2 changed files
with
2 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,15 +35,4 @@ FileUtils.chdir APP_ROOT do | |
# system! "bin/rails restart" | ||
# Faster to do it manually: | ||
system! "touch tmp/restart.txt" | ||
|
||
puts "\n== Welcome to Open Food Network! ==" | ||
puts "" | ||
puts "To login as the default user, use:" | ||
puts "" | ||
puts " email: [email protected]" | ||
puts " password: ofn123" | ||
puts "" | ||
puts "Load sample data with:" | ||
puts "" | ||
puts " ./bin/rake ofn:sample_data" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters