An EVE online authentication and mediated API access application.
© 2013, Alice Bevan-McGregor and contributors.
- User management.
- EVE Online API key management.
- Third-party application registration.
- Authentication of users for third-party applications.
- Authorization of EVE API access by users for third-party applications.
- Access control list group/role definition for use by third-party applications.
Development takes place on GitHub in the core project. Issue tracking, documentation, and downloads are provided there.
You will require an installed and running MongoDB installation. Installation and configuration of MongoDB is beyond the scope of this documentation.
You will require a working and up-to-date virtualenv installation. The first step is always to create an environment:
virtualenv brave
Once you have this, enter and activate the virtual environment:
cd brave
source bin/activate
Now bootstrap the web framework:
pip install WebCore
Additionally, there are some requirements you will need to manually install as Core Services require features present in as-yet unreleased packages. You will need to perform the following steps:
(git clone https://github.com/marrow/marrow.templating.git; cd marrow.templating; python setup.py develop)
(git clone https://github.com/marrow/marrow.tags.git; cd marrow.tags; python setup.py develop)
(git clone https://github.com/bravecollective/api.git; cd api; python setup.py develop)
Installing the current development version of the Core Service requires Git, a distributed source code management system. Compilation additionally requires the Python development headers and the OpenSSL development headers. In Debian/Ubuntu, these are found in packages `python-dev` and `libssl-dev`.
Run the following to download the development version with Git, and link it into your Python runtime:
git clone https://github.com/bravecollective/core.git
cd core
python setup.py develop
Once you have successfully compiled the Core Service, copy `development.ini` to `local.ini`, and make changes as appropriate. Finally, bootstrap the EVE API system by running:
paster shell local.ini # or don't mention an INI if you didn't customize
from brave.core.util.eve import populate_calls
populate_calls()
You can upgrade to the latest version at any time:
(cd core; git pull; python setup.py develop)
If you would like to make changes and contribute them back to the project, fork the GitHub project, make your changes, and submit a pull request. This process is beyond the scope of this documentation; for more information, see GitHub’s documentation.
Make a copy of development.ini
called local.ini
, update all relevant directives (related to storage of sessions, cache data, and database URI) and run the following to serve content locally:
paster serve local.ini
This will start a development server and present the URL you need to access. (Generally http://127.0.0.1:8080.) If you wish the server to automatically restart in the event of a change to one of the source files (templates and statically served content are exempt) add the --reload
switch.
Brave Collective Core Services has been released under the MIT Open Source license. All contributors agree to transfer ownership of their code to Alice Bevan-McGregor for release under this license. (This is to mitigate issues in the future.)
Copyright © 2013 Alice Bevan-McGregor and contributors.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.