import os import sys DIR = os.path.dirname(os.path.realpath(__file__)) sys.path.append(os.path.join(DIR, 'deps')) import djangogo parser = djangogo.make_parser() parser.add_argument('--start-scheduler', action='store_true', help='start scraper scheduler') args = parser.parse_args() if args.start_scheduler: djangogo.invoke('heroku', 'ps:scale', 'scheduler=1') djangogo.main( args, project='scraper_proj', app='scraper', database='scraper_database', user='******', heroku_url='https://dans-scraper.herokuapp.com/', )
import os import sys DIR = os.path.dirname(os.path.realpath(__file__)) sys.path.append(os.path.join(DIR, 'deps')) import djangogo parser = djangogo.make_parser() args = parser.parse_args() djangogo.main( args, project='proj_websocket_forwarder', app='websocket_forwarder', db_name='db_websocket_forwarder', db_user='******', heroku_url='https://websocket-forwarder.herokuapp.com/', heroku_repo='https://git.heroku.com/websocket-forwarder.git', )
import os import sys DIR = os.path.dirname(os.path.realpath(__file__)) sys.path.append(os.path.join(DIR, 'deps')) import djangogo parser = djangogo.make_parser() args = parser.parse_args() djangogo.main( args, project='dansmap', app='map', database='map_database', user='******', heroku_repo='https://git.heroku.com/safe-everglades-62273.git', heroku_url='https://safe-everglades-62273.herokuapp.com', )
import os import sys DIR = os.path.dirname(os.path.realpath(__file__)) sys.path.append(os.path.join(DIR, 'deps')) import djangogo parser = djangogo.make_parser() args = parser.parse_args() djangogo.main( args, project='proj_garden_mapper', app='garden_mapper', db_name='db_garden_mapper', db_user='******', heroku_url='https://garden-mapper.herokuapp.com/', heroku_repo='https://git.heroku.com/garden-mapper.git', )
import os import sys DIR = os.path.dirname(os.path.realpath(__file__)) sys.path.append(os.path.join(DIR, 'deps')) import djangogo parser = djangogo.make_parser() args = parser.parse_args() djangogo.main( args, project='SocialTennis_proj', app='SocialTennis', db_name='socialtennis_database', db_user='******', heroku_url='https://dans-social-tennis.herokuapp.com/', )
import os import sys DIR = os.path.dirname(os.path.realpath(__file__)) sys.path.append(os.path.join(DIR, 'deps')) import djangogo parser = djangogo.make_parser() parser.add_argument('--run-frontend', '-f', action='store_true') args = parser.parse_args() if args.run_frontend: djangogo.invoke('npm', 'run', 'serve') else: djangogo.main( args, project='dnd_weave_proj', app='dnd_weave_app', db_name='dnd_weave_database', db_user='******', heroku_url='https://dnd-weave.herokuapp.com/', )
import os import sys DIR = os.path.dirname(os.path.realpath(__file__)) sys.path.append(os.path.join(DIR, 'deps')) import djangogo parser = djangogo.make_parser() args = parser.parse_args() djangogo.main( args, project='SlackZero_proj', app='SlackZero', database='SlackZero_database', user='******', heroku_url='https://sheltered-sands-95126.herokuapp.com/', )
import os import sys DIR = os.path.dirname(os.path.realpath(__file__)) sys.path.append(os.path.join(DIR, 'deps')) import djangogo parser = djangogo.make_parser() args = parser.parse_args() djangogo.main( args, project={project}, app={app}, db_name={db_name}, db_user={db_user}, heroku_url={heroku_url}, heroku_repo={heroku_repo}, )
import os import sys DIR = os.path.dirname(os.path.realpath(__file__)) sys.path.append(os.path.join(DIR, 'deps')) import djangogo parser = djangogo.make_parser() args = parser.parse_args() djangogo.main( args, project='datasaver_proj', app='datasaver', db_name='datasaver_database', db_user='******', heroku_url='https://dans-datasaver.herokuapp.com/', )
import os import sys DIR = os.path.dirname(os.path.realpath(__file__)) sys.path.append(os.path.join(DIR, 'deps')) import djangogo parser = djangogo.make_parser() args = parser.parse_args() djangogo.main( args, project={project}, app={app}, database={database}, user={user}, heroku_url={heroku_url}, )