Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MJU-POPS
ckanext-archiver
Commits
02abc519
Commit
02abc519
authored
Nov 20, 2015
by
David Read
Browse files
Merge commit '
4edfb94e
' into fix-travis
parents
c935df36
4edfb94e
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.rst
View file @
02abc519
...
@@ -50,7 +50,11 @@ To install ckanext-archiver:
...
@@ -50,7 +50,11 @@ To install ckanext-archiver:
pip install -e git+http://github.com/ckan/ckanext-archiver.git#egg=ckanext-archiver
pip install -e git+http://github.com/ckan/ckanext-archiver.git#egg=ckanext-archiver
pip install -e git+http://github.com/datagovuk/ckanext-report.git#egg=ckanext-report
pip install -e git+http://github.com/datagovuk/ckanext-report.git#egg=ckanext-report
3. Now create the database tables::
3. Install the archiver dependencies::
pip install -r ckanext-archiver/requirements.txt
4. Now create the database tables::
paster --plugin=ckanext-archiver archiver init --config=production.ini
paster --plugin=ckanext-archiver archiver init --config=production.ini
paster --plugin=ckanext-report report initdb --config=production.ini
paster --plugin=ckanext-report report initdb --config=production.ini
...
@@ -88,15 +92,20 @@ NB Previously you needed both ckanext-archiver and ckanext-qa to see the broken
...
@@ -88,15 +92,20 @@ NB Previously you needed both ckanext-archiver and ckanext-qa to see the broken
git pull
git pull
python setup.py develop
python setup.py develop
5. Create the new database tables::
5. Create the new database tables::
paster --plugin=ckanext-archiver archiver init --config=production.ini
paster --plugin=ckanext-archiver archiver init --config=production.ini
6. Install the developer dependencies, needed for the migration::
6. Ensure the archiver dependencies are installed::
pip install -r requirements.txt
7. Install the developer dependencies, needed for the migration::
pip install -r dev-requirements.txt
pip install -r dev-requirements.txt
7
. Migrate your database to the new Archiver tables::
8
. Migrate your database to the new Archiver tables::
python ckanext/archiver/bin/migrate_task_status.py --write production.ini
python ckanext/archiver/bin/migrate_task_status.py --write production.ini
...
...
setup.py
View file @
02abc519
...
@@ -59,16 +59,8 @@ setup(
...
@@ -59,16 +59,8 @@ setup(
# simple. Or you can use find_packages().
# simple. Or you can use find_packages().
packages
=
find_packages
(
exclude
=
[
'contrib'
,
'docs'
,
'tests*'
]),
packages
=
find_packages
(
exclude
=
[
'contrib'
,
'docs'
,
'tests*'
]),
# List run-time dependencies here. These will be installed by pip when your
# project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/technical.html#install-requires-vs-requirements-files
install_requires
=
[
install_requires
=
[
'celery==2.4.2'
,
# Requirements defined in requirements.txt
'kombu==2.1.3'
,
'kombu-sqlalchemy==1.1.0'
,
'SQLAlchemy>=0.6.6'
,
'requests>=1.1.0'
,
],
],
# If there are data files included in your packages that need to be
# If there are data files included in your packages that need to be
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment