mirror of
https://github.com/getredash/redash.git
synced 2025-12-19 17:37:19 -05:00
Ama: Install just pymongo and not everything in requirements_all_ds.txt
Because some dependencies were missing and we dont really need everything in the file...just pymongo Also removed unneeded files, reverted circle.yml to as it is on redash, so it doesnt show in the PR diff
This commit is contained in:
@@ -36,4 +36,4 @@ notify:
|
||||
general:
|
||||
branches:
|
||||
ignore:
|
||||
- gh-pages
|
||||
- gh-pages
|
||||
|
||||
@@ -15,8 +15,8 @@ To get started with this box:
|
||||
2. Clone the Re:dash repository:
|
||||
``git clone https://github.com/getredash/redash.git``.
|
||||
3. Change dir into the repository (``cd redash``)
|
||||
4a. To execute tests, run ``./run_tests.sh``
|
||||
4b. To run the app, run ``./run_redash_locally.sh``.
|
||||
4a. To execute tests, run ``./bin/vagrant_ctl.sh test``
|
||||
4b. To run the app, run ``./bin/vagrant_ctl.sh start``.
|
||||
This might take some time the first time you run it,
|
||||
as it downloads the Vagrant virtual box.
|
||||
Now the server should be available on your host on port 9001 and you
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/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
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/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" &
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#Provision VM
|
||||
vagrant up
|
||||
|
||||
#Run tests
|
||||
vagrant ssh -c "cd /opt/redash/current; nosetests --with-coverage --cover-package=redash tests/"
|
||||
@@ -10,7 +10,7 @@ cd /opt/redash/current
|
||||
#install requirements
|
||||
sudo pip install -r /opt/redash/current/requirements_dev.txt
|
||||
sudo pip install -r /opt/redash/current/requirements.txt
|
||||
sudo pip install -r /opt/redash/current/requirements_all_ds.txt
|
||||
sudo pip install pymongo==3.2.1
|
||||
|
||||
#update database
|
||||
bin/run ./manage.py database drop_tables
|
||||
|
||||
Reference in New Issue
Block a user