Skip to content

Commit 34f02d2

Browse files
committed
Replaced uu snippet with snippet for settings.php
1 parent f1ba6e4 commit 34f02d2

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

index.html

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,36 +30,38 @@ <h1><a href="https://github.com/undpaul/code_snippets">&lt;?code_snippets</a>
3030
<div id="site-subheader" class="clearfix"></div>
3131

3232
<div id="main">
33-
33+
3434
<h2><a href="https://github.com/undpaul/code_snippets/blob/master/git/default.gitignore">.gitignore for drupal projects without docroot</a></h2>
3535
<p><pre class="terminal">curl https://raw.github.com/undpaul/code_snippets/master/git/default.gitignore &gt; .gitignore</pre></p>
3636

3737
<h2><a href="https://github.com/undpaul/code_snippets/blob/master/git/freistilbox.gitignore">.gitignore for drupal projects with docroot (e.g. on freistilbox)</a></h2>
3838
<p><pre class="terminal">curl https://raw.github.com/undpaul/code_snippets/master/git/freistilbox.gitignore &gt; .gitignore</pre></p>
3939

40-
<h2><a href="https://github.com/undpaul/code_snippets/blob/master/sh/undpaul-update.sh">a bash file for executing a sites/all/scripts/update.sh from any place in the drupal folder</a></h2>
40+
<h2><a href="https://github.com/undpaul/code_snippets/tree/master/settings.php">settings.php structure</a></h2>
4141
<p>
42-
<pre class="terminal">cd ~ curl https://raw.github.com/undpaul/code_snippets/master/sh/undpaul-update.sh &gt; .drush/undpaul-update.sh</pre>
43-
Then just add a global alias in your <code>.zshrc</code> or <code>.bash_profile</code>:
44-
<pre>alias uu="sh ~/.drush/undpaul-update.sh"</pre>
42+
<pre class="terminal">curl -O https://raw.githubusercontent.com/undpaul/code_snippets/master/settings.php/default.local.settings.php</pre>
43+
<pre class="terminal">curl -O https://raw.githubusercontent.com/undpaul/code_snippets/master/settings.php/settings.local.php</pre>
44+
<pre class="terminal">curl -O https://raw.githubusercontent.com/undpaul/code_snippets/master/settings.php/shared.settings.php</pre>
45+
<pre class="terminal">ln -s settings.local.php settings.php</pre>
4546
</p>
4647

47-
<hr>
48+
<p>&nbsp;</p>
49+
<p>&nbsp;</p>
4850

4951
<h2>Contact</h2>
5052
<p>Johannes Haseitl - undpaul GmbH (johannes@undpaul.de)</p>
5153

52-
<p>You can also clone the project with <a href="http://git-scm.com">Git</a>
53-
by running:
54+
<p>You can also clone the project with <a href="http://git-scm.com">Git</a>
55+
by running:
5456
</p><pre class="terminal">git clone git://github.com/undpaul/code_snippets</pre>
55-
<p></p>
57+
<p></p>
5658

57-
<div class="footer">
58-
get the source code on GitHub : <a href="https://github.com/undpaul/code_snippets">undpaul/code_snippets</a>
59-
</div>
59+
<div class="footer">
60+
get the source code on GitHub : <a href="https://github.com/undpaul/code_snippets">undpaul/code_snippets</a>
61+
</div>
6062

61-
</div>
63+
</div>
6264

63-
</div></div></div>
65+
</div></div></div>
6466
</body>
6567
</html>

0 commit comments

Comments
 (0)