mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-23 09:21:37 +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?
|
||||
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')
|
||||
DB_URL = os.path.join(DOWNLOAD_URL, MINOR_VERSION,
|
||||
'wordfreq-%s.db' % MINOR_VERSION)
|
||||
|
||||
# How do we actually get it there? This is the path, including hostname, to give
|
||||
# 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
|
||||
# place for it, because it might be installed in the system site-packages.
|
||||
|
Loading…
Reference in New Issue
Block a user