mirror of
https://github.com/dathere/ckan-devstaller.git
synced 2026-03-21 23:40:12 +00:00
Compare commits
2 commits
235494e3d1
...
3ae695ee0b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ae695ee0b | ||
|
|
5cdaf50c38 |
2 changed files with 4 additions and 3 deletions
|
|
@ -228,7 +228,7 @@ rm -rf README ckan-compose ahoy dpp_default_config.ini get-docker.sh permissions
|
||||||
venv.pip_upgrade("pip")?;
|
venv.pip_upgrade("pip")?;
|
||||||
venv.pip_install(
|
venv.pip_install(
|
||||||
format!(
|
format!(
|
||||||
"git+https://github.com/ckan/ckan.git@ckan-{}#egg=ckan[requirements]",
|
"ckan[requirements]@git+https://github.com/ckan/ckan.git@ckan-{}",
|
||||||
config.ckan_version
|
config.ckan_version
|
||||||
)
|
)
|
||||||
.as_str(),
|
.as_str(),
|
||||||
|
|
@ -241,6 +241,7 @@ rm -rf README ckan-compose ahoy dpp_default_config.ini get-docker.sh permissions
|
||||||
)
|
)
|
||||||
.run()?;
|
.run()?;
|
||||||
sh.change_dir("/usr/lib/ckan/default/src/ckan");
|
sh.change_dir("/usr/lib/ckan/default/src/ckan");
|
||||||
|
venv.pip_install("setuptools==81.0.0")?;
|
||||||
cmd!(sh, "ckan generate config /etc/ckan/default/ckan.ini").run()?;
|
cmd!(sh, "ckan generate config /etc/ckan/default/ckan.ini").run()?;
|
||||||
cmd!(
|
cmd!(
|
||||||
sh,
|
sh,
|
||||||
|
|
|
||||||
|
|
@ -205,7 +205,7 @@ pub fn step_install_ckanext_scheming_extension(
|
||||||
);
|
);
|
||||||
cmd!(
|
cmd!(
|
||||||
sh,
|
sh,
|
||||||
"pip install -e git+https://github.com/ckan/ckanext-scheming.git#egg=ckanext-scheming"
|
"pip install -e ckanext-scheming@git+https://github.com/ckan/ckanext-scheming.git"
|
||||||
)
|
)
|
||||||
.run()?;
|
.run()?;
|
||||||
let mut conf = ini::Ini::load_from_file("/etc/ckan/default/ckan.ini")?;
|
let mut conf = ini::Ini::load_from_file("/etc/ckan/default/ckan.ini")?;
|
||||||
|
|
@ -245,7 +245,7 @@ pub fn step_install_datapusher_plus_extension(
|
||||||
sh.change_dir("/usr/lib/ckan/default/src");
|
sh.change_dir("/usr/lib/ckan/default/src");
|
||||||
cmd!(
|
cmd!(
|
||||||
sh,
|
sh,
|
||||||
"pip install -e git+https://github.com/dathere/datapusher-plus.git@main#egg=datapusher-plus"
|
"pip install -e datapusher-plus@git+https://github.com/dathere/datapusher-plus.git@main"
|
||||||
)
|
)
|
||||||
.run()?;
|
.run()?;
|
||||||
sh.change_dir("/usr/lib/ckan/default/src/datapusher-plus");
|
sh.change_dir("/usr/lib/ckan/default/src/datapusher-plus");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue