2014-07-01 17:11:09 +09:00
|
|
|
..
|
2015-10-15 02:47:33 +00:00
|
|
|
Copyright 2010-2015 United States Government as represented by the
|
2014-07-01 17:11:09 +09:00
|
|
|
Administrator of the National Aeronautics and Space Administration.
|
|
|
|
All Rights Reserved.
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
|
|
not use this file except in compliance with the License. You may obtain
|
|
|
|
a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
License for the specific language governing permissions and limitations
|
|
|
|
under the License.
|
|
|
|
|
|
|
|
Setting Up a Development Environment
|
|
|
|
====================================
|
|
|
|
|
|
|
|
This page describes how to setup a working Python development
|
2015-10-15 02:47:33 +00:00
|
|
|
environment that can be used in developing Tacker on Ubuntu, Fedora or
|
2014-07-01 17:11:09 +09:00
|
|
|
Mac OS X. These instructions assume you're already familiar with
|
|
|
|
Git and Gerrit, which is a code repository mirror and code review toolset
|
|
|
|
, however if you aren't please see `this Git tutorial`_ for an introduction
|
2014-12-05 03:30:47 +00:00
|
|
|
to using Git and `this guide`_ for a tutorial on using Gerrit and Git for
|
2014-07-01 17:11:09 +09:00
|
|
|
code contribution to Openstack projects.
|
|
|
|
|
|
|
|
.. _this Git tutorial: http://git-scm.com/book/en/Getting-Started
|
2014-12-05 03:30:47 +00:00
|
|
|
.. _this guide: http://docs.openstack.org/infra/manual/developers.html#development-workflow
|
2014-07-01 17:11:09 +09:00
|
|
|
|
2015-10-15 02:47:33 +00:00
|
|
|
If you want to be able to run Tacker in a full OpenStack environment,
|
2014-07-01 17:11:09 +09:00
|
|
|
you can use the excellent `DevStack`_ project to do so. There is a wiki page
|
2015-10-15 02:47:33 +00:00
|
|
|
that describes `setting up Tacker using DevStack`_.
|
2014-07-01 17:11:09 +09:00
|
|
|
|
2014-12-05 03:30:47 +00:00
|
|
|
.. _DevStack: https://git.openstack.org/cgit/openstack-dev/devstack
|
2015-10-15 02:47:33 +00:00
|
|
|
.. _setting up Tacker using Devstack: https://wiki.openstack.org/wiki/Tacker/Installation
|
2014-07-01 17:11:09 +09:00
|
|
|
|
|
|
|
Getting the code
|
|
|
|
----------------
|
|
|
|
|
2014-12-05 03:30:47 +00:00
|
|
|
Grab the code::
|
2014-07-01 17:11:09 +09:00
|
|
|
|
2015-10-15 02:47:33 +00:00
|
|
|
git clone git://git.openstack.org/openstack/tacker.git
|
|
|
|
cd tacker
|
2014-07-01 17:11:09 +09:00
|
|
|
|
|
|
|
|
|
|
|
.. include:: ../../../TESTING.rst
|