Skip to content

Commit

Permalink
Update to Mac installation
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcauliffe committed Aug 24, 2021
1 parent a68df85 commit a27725e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bin/pgdb
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def download_influxdb(data_directory, overwrite=False):
else:
print('Installing InfluxDB...')
subprocess.call(['brew', 'update'])
subprocess.call(['brew', 'install', 'influxdb'])
subprocess.call(['brew', 'install', 'influxdb@1'])
return True


Expand Down Expand Up @@ -203,7 +203,7 @@ def start():
if sys.platform.startswith('win'):
influxdb_bin = os.path.join(CONFIG['Data']['directory'], 'influxdb', 'influxd.exe')
elif sys.platform == 'darwin':
influxdb_bin = 'influxd'
influxdb_bin = '/usr/local/opt/influxdb@1/bin/influxd'
else:
influxdb_bin = os.path.join(CONFIG['Data']['directory'], 'influxdb', 'usr', 'bin', 'influxd')
influxdb_conf = os.path.join(CONFIG['Data']['directory'], 'influxdb', 'influxdb.conf')
Expand Down
2 changes: 1 addition & 1 deletion polyglotdb/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
__ver_major__ = 1
__ver_minor__ = 2
__ver_patch__ = '0a'
__ver_patch__ = '0a1'
__version__ = f"{__ver_major__}.{__ver_minor__}.{__ver_patch__}"

__all__ = ['query', 'io', 'corpus', 'config', 'exceptions', 'CorpusContext', 'CorpusConfig']
Expand Down

0 comments on commit a27725e

Please sign in to comment.