mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-23 17:31:41 +00:00
data is now hosted on wordfreq.services.luminoso.com
Former-commit-id: 56f2c606f1
This commit is contained in:
parent
5f7c7e032c
commit
634cf6af6d
@ -16,14 +16,14 @@ CACHE_SIZE = 100000
|
|||||||
|
|
||||||
# Where can the data be downloaded from?
|
# Where can the data be downloaded from?
|
||||||
DOWNLOAD_URL = (os.environ.get('WORDFREQ_URL')
|
DOWNLOAD_URL = (os.environ.get('WORDFREQ_URL')
|
||||||
or 'http://ferret.lumi/dist/wordfreq/')
|
or 'http://wordfreq.services.luminoso.com/')
|
||||||
RAW_DATA_URL = os.path.join(DOWNLOAD_URL, MINOR_VERSION, 'wordfreq-data.tar.gz')
|
RAW_DATA_URL = os.path.join(DOWNLOAD_URL, MINOR_VERSION, 'wordfreq-data.tar.gz')
|
||||||
DB_URL = os.path.join(DOWNLOAD_URL, MINOR_VERSION,
|
DB_URL = os.path.join(DOWNLOAD_URL, MINOR_VERSION,
|
||||||
'wordfreq-%s.db' % MINOR_VERSION)
|
'wordfreq-%s.db' % MINOR_VERSION)
|
||||||
|
|
||||||
# How do we actually get it there? This is the path, including hostname, to give
|
# How do we actually get it there? This is the path, including hostname, to give
|
||||||
# to scp to upload the file.
|
# to scp to upload the file.
|
||||||
UPLOAD_PATH = 'ferret.lumi:/var/lib/lumi/dist/wordfreq/'
|
UPLOAD_PATH = 'baldr:/srv/wordfreq/static/'
|
||||||
|
|
||||||
# Where should raw data go? Inside the package isn't necessary a good
|
# Where should raw data go? Inside the package isn't necessary a good
|
||||||
# place for it, because it might be installed in the system site-packages.
|
# place for it, because it might be installed in the system site-packages.
|
||||||
|
Loading…
Reference in New Issue
Block a user