-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
script/bootstrap: modify for use beyond Vagrant
This adds a `--vagrant` swtich to be used along with the Vagran box, and also ensures that the `media/` directory has been created.
- Loading branch information
Showing
2 changed files
with
17 additions
and
10 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 |
---|---|---|
|
@@ -83,7 +83,8 @@ Vagrant.configure(2) do |config| | |
# Run bootstrap script to install the python packages we need | ||
# Then migrate the db, generate the sass, etc | ||
script/bootstrap | ||
script/bootstrap --vagrant | ||
script/migrate | ||
# Create a superuser | ||
script/console -c "from django.contrib.auth import get_user_model; User = get_user_model(); User.objects.create_superuser('admin', '[email protected]', 'password')" | ||
|
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