Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ama/Chris #7121 Added script to run or test redash vagrant server in …
…one command.
- Loading branch information
Showing
7 changed files
with
45 additions
and
26 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
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
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
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
pip install -r /opt/redash/current/requirements_dev.txt | ||
pip install -r /opt/redash/current/requirements.txt | ||
pip install pymongo==3.2.1 |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
#Provision VM | ||
vagrant up | ||
|
||
#start server and background workers | ||
vagrant ssh -c "cd /opt/redash/current; bin/run honcho start -f Procfile.dev" & |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
#Provision VM | ||
vagrant up | ||
|
||
#Run tests | ||
vagrant ssh -c "cd /opt/redash/current; nosetests --with-coverage --cover-package=redash tests/" |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
cd /opt/redash/current | ||
cp /opt/redash/.env /opt/redash/current | ||
cd /opt/redash/current/rd_ui | ||
bower install | ||
cd /opt/redash/current | ||
|
||
#update database | ||
bin/run ./manage.py database drop_tables | ||
bin/run ./manage.py database create_tables | ||
bin/run ./manage.py users create --admin --password admin "Admin" "admin" | ||
|