-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #92 from fgpv-vpgf/develop
Update Master for the release of v3.0.0
- Loading branch information
Showing
27 changed files
with
70 additions
and
67 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
check: | ||
flake8 && py.test | ||
flake8 && PYTHONPATH=/vagrant pytest | ||
|
||
build: | ||
python setup.py sdist --formats=bztar,zip | ||
python3.6 setup.py sdist --formats=bztar,zip | ||
|
||
serve: | ||
python run.py --listen-all | ||
python3.6 run.py --listen-all |
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
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ Install `CouchDB <http://couchdb.apache.org/>`_ | |
|
||
Configure Python Environment | ||
---------------------------- | ||
#. Ensure python is a 2.7.x release | ||
#. Ensure python is a 3.6.x release | ||
#. Install pip (https://pip.pypa.io/en/latest/installing.html) | ||
#. Install virtualenv ``pip install virtualenv`` | ||
#. Clone the repo ``git clone [email protected]:RAMP-PCAR/RCS.git rcs`` | ||
|
@@ -23,17 +23,17 @@ Configure Python Environment | |
#. Activate the virtualenv ``scripts\activate`` | ||
#. Install the project dependencies ``pip install -r requirements.txt`` | ||
#. Make any path changes necessary to ``config.py`` (if you followed the above there should be none) | ||
#. Test the installation ``python rcs.py`` (this will run a test server on localhost) | ||
#. Seed the database ``python seed_qa_keys.py`` | ||
#. Test the installation ``python3.6 rcs.py`` (this will run a test server on localhost) | ||
#. Seed the database ``python3.6 seed_qa_keys.py`` | ||
|
||
Set up Development Environment and run RCS locally | ||
-------------------------------------------------------- | ||
-------------------------------------------------- | ||
#. Install Vagrant (https://www.vagrantup.com/downloads.html) | ||
#. Clone RCS repo ``git clone https://github.com/fgpv-vpgf/rcs.git`` | ||
#. Activate Vagrant ``vagrant up`` (Note: Please ensure a Vagrant file exits) | ||
#. Establish a connection ``vagrant ssh`` | ||
#. Change to the Vagrant folder ``cd /vagrant`` | ||
#. Activate the programmes required ``. bin/activate`` | ||
#. If vagrant failed at any point, run ``vagrant destroy`` then repeat the previous steps again | ||
#. Run RCS ``python run.py --listen-all`` | ||
#. Run RCS ``python3.6 run.py --listen-all`` | ||
#. Go to http://localhost:6101/static/test.html for testing (Note: The port number might be different) |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
pytest==2.8.2 | ||
pytest==3.4.2 | ||
Sphinx==1.6.6 | ||
flake8==2.5.2 | ||
flake8==3.5.0 |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
import db, regparse | ||
from . import db, regparse | ||
__all__ = ['db', 'regparse'] |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from doc import init_doc_db, get_doc, get_raw, put_doc, delete_doc, query, get_all | ||
from auth import init_auth_db, get_key | ||
from .doc import init_doc_db, get_doc, get_raw, put_doc, delete_doc, query, get_all | ||
from .auth import init_auth_db, get_key | ||
|
||
__all__ = ['init_doc_db', 'get_doc', 'get_raw', 'put_doc', 'delete_doc', 'query', 'init_auth_db', 'get_key', 'get_all'] |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import ogc, esri, sigcheck | ||
from universal import ServiceTypes, ServiceEndpointException, make_node, make_id | ||
from . import ogc, esri, sigcheck | ||
from .universal import ServiceTypes, ServiceEndpointException, make_node, make_id | ||
__all__ = ['esri', 'sigcheck', 'ogc', 'make_id', | ||
'ServiceTypes', 'ServiceEndpointException', 'make_node'] |
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
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
Oops, something went wrong.