Add back db manage script

This commit is contained in:
Endre Karlson 2013-03-20 13:01:10 +00:00
parent 529e5ab0e7
commit 457e1a7111
2 changed files with 27 additions and 0 deletions

26
bin/billingstack-db-manage Executable file
View File

@ -0,0 +1,26 @@
#!/usr/bin/env python
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2012 New Dream Network, LLC (DreamHost)
# 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.
import os
import sys
sys.path.insert(0, os.getcwd())
from billingstack.storage.impl_sqlalchemy.migration.cli import main
main()

View File

@ -48,6 +48,7 @@ setup(
dependency_links=dependency_links,
scripts=[
'bin/billingstack-api',
'bin/billingstack-db-manage',
'bin/billingstack-identity-api',
'bin/billingstack-manage',
'bin/billingstack-central'