Add back db manage script
This commit is contained in:
parent
529e5ab0e7
commit
457e1a7111
26
bin/billingstack-db-manage
Executable file
26
bin/billingstack-db-manage
Executable 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()
|
1
setup.py
1
setup.py
@ -48,6 +48,7 @@ setup(
|
|||||||
dependency_links=dependency_links,
|
dependency_links=dependency_links,
|
||||||
scripts=[
|
scripts=[
|
||||||
'bin/billingstack-api',
|
'bin/billingstack-api',
|
||||||
|
'bin/billingstack-db-manage',
|
||||||
'bin/billingstack-identity-api',
|
'bin/billingstack-identity-api',
|
||||||
'bin/billingstack-manage',
|
'bin/billingstack-manage',
|
||||||
'bin/billingstack-central'
|
'bin/billingstack-central'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user