<?xml 
version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="https://blog.roxing.net/spip.php?page=backend.xslt" ?>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:atom="http://www.w3.org/2005/Atom"
>

<channel xml:lang="fr">
	<title>blog.roxing.net</title>
	<link>http://blog.roxing.net/</link>
	<description>weblog roxing.net - astuces spip, php, bash, linux &amp; more</description>
	<language>fr</language>
	<generator>SPIP - www.spip.net</generator>
	<atom:link href="https://blog.roxing.net/spip.php?id_mot=190&amp;page=backend" rel="self" type="application/rss+xml" />

	<image>
		<title>blog.roxing.net</title>
		<url>https://blog.roxing.net/local/cache-vignettes/L144xH37/siteon0-6ddb5.png?1727125340</url>
		<link>http://blog.roxing.net/</link>
		<height>37</height>
		<width>144</width>
	</image>



<item xml:lang="fr">
		<title>Installer spip-cli dans devilbox</title>
		<link>https://blog.roxing.net/installer-spip-cli-dans-devilbox</link>
		<guid isPermaLink="true">https://blog.roxing.net/installer-spip-cli-dans-devilbox</guid>
		<dc:date>2024-10-03T13:49:01Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>placido</dc:creator>


		<dc:subject>spip</dc:subject>
		<dc:subject>linux</dc:subject>
		<dc:subject>devilbox</dc:subject>

		<description>
&lt;p&gt;Dans le host de devilbox : bash nano autostart/install-spip-cli.sh &lt;br class='autobr' /&gt;
puis dans le fichier bash # !/usr/bin/env bash #
&lt;br class='autobr' /&gt;
SPIP_CLI_PATH='/opt/spip-cli/'
&lt;br class='autobr' /&gt;
if [ -d &#034;$SPIP_CLI_PATH&#034; ] ; then &gt;&amp;amp ;2 echo &#034;[Warning], $SPIP_CLI_PATH existe d&#233;j&#224;, on sort&#034; exit 0 fi
&lt;br class='autobr' /&gt;
mkdir -p $SPIP_CLI_PATH cd $SPIP_CLI_PATH git clone https://git.spip.net/spip-contrib-outils/spip-cli.git . composer install &#8212;no-dev cd bin ln -s $(pwd)/spip /usr/local/bin/ ln -s $(pwd)/spipmu (&#8230;)&lt;/p&gt;


-
&lt;a href="https://blog.roxing.net/billets" rel="directory"&gt;billets&lt;/a&gt;

/ 
&lt;a href="https://blog.roxing.net/spip-49" rel="tag"&gt;spip&lt;/a&gt;, 
&lt;a href="https://blog.roxing.net/gnu-linux" rel="tag"&gt;linux&lt;/a&gt;, 
&lt;a href="https://blog.roxing.net/devilbox" rel="tag"&gt;devilbox&lt;/a&gt;

		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;Dans le host de devilbox :&lt;/p&gt;
&lt;div class=&#034;precode&#034;&gt;&lt;pre data-language=&#034;bash&#034; class='spip_code spip_code_block language-bash' dir='ltr' style='text-align:left;'&gt;&lt;code&gt;nano autostart/install-spip-cli.sh &lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;puis dans le fichier&lt;/p&gt;
&lt;div class=&#034;precode&#034;&gt;&lt;pre data-language=&#034;bash&#034; class='spip_code spip_code_block language-bash' dir='ltr' style='text-align:left;'&gt;&lt;code&gt;#!/usr/bin/env bash # SPIP_CLI_PATH='/opt/spip-cli/' if [ -d &#034;${SPIP_CLI_PATH}&#034; ]; then &gt;&amp;2 echo &#034;[Warning], ${SPIP_CLI_PATH} existe d&#233;j&#224;, on sort&#034; exit 0 fi mkdir -p ${SPIP_CLI_PATH} cd ${SPIP_CLI_PATH} git clone https://git.spip.net/spip-contrib-outils/spip-cli.git . composer install --no-dev cd bin ln -s $(pwd)/spip /usr/local/bin/ ln -s $(pwd)/spipmu /usr/local/bin/ ln -s $(pwd)/spip_console_autocomplete /etc/bash_completion.d/spip &lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Bonus :&lt;/p&gt;
&lt;div class=&#034;precode&#034;&gt;&lt;pre data-language=&#034;bash&#034; class='spip_code spip_code_block language-bash' dir='ltr' style='text-align:left;'&gt;&lt;code&gt;nano autostart/install-spip-dump.sh &lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Puis :&lt;/p&gt;
&lt;div class=&#034;precode&#034;&gt;&lt;pre data-language=&#034;bash&#034; class='spip_code spip_code_block language-bash' dir='ltr' style='text-align:left;'&gt;&lt;code&gt;#!/usr/bin/env bash # SPIP_DUMP_PATH='/opt/spip-dump/' if [ -d &#034;${SPIP_DUMP_PATH}&#034; ]; then &gt;&amp;2 echo &#034;[Warning], ${SPIP_DUMP_PATH} existe d&#233;j&#224;, on sort&#034; exit 0 fi echo 'installation des scripts spip-dump' mkdir -p ${SPIP_DUMP_PATH} cd ${SPIP_DUMP_PATH} curl -fsSL -o spip-import-dump-from-connect.sh https://git.spip.net/-/snippets/12/raw/main/import-dump-from-connect.sh?inline=false curl -fsSL -o spip-export-dump-from-connect.sh https://git.spip.net/-/snippets/11/raw/main/export-dump-from-connect.sh?inline=false chmod +x *.sh ln -s $(pwd)/spip* /usr/local/bin/ &lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>



</channel>

</rss>
