Compare commits

..

2 Commits

Author SHA1 Message Date
Ray Elliott 462d529a58 fix bugs, tidy up 2020-05-05 17:47:17 +01:00
Ray Elliott b9d09fdf08 update example configuration 2020-05-05 17:14:38 +01:00
2 changed files with 16 additions and 12 deletions

View File

@ -8,6 +8,9 @@ export _local_domain="home"
export _user_www='www-data'
export _passwd_www='www-data'
export _git_user_name='rayelliott'
export _git_user_email='gitea@rayelliott.dev'
export _wp_title="WP Title"
export _wp_admin_user="admin"
export _wp_password="a_better_password_than_this_bro"
@ -18,7 +21,13 @@ export _wp_theme_active="twentytwenty"
export _wp_themes_additional="twentynineteen twentyseventeen"
export _wp_plugins="better-wp-security wp-fastest-cache autodescription google-analytics-for-wordpress"
export _wp_plugins_active="elementor wp-mail-smtp gdpr-cookie-compliance regenerate-thumbnails"
export _wp_plugins_active="wp-mail-smtp gdpr-cookie-compliance regenerate-thumbnails"
# for nvim
export _node_version=v13.14.0
export _node_distro=linux-x64
export _lf_version='r13'
# remote configuration

View File

@ -20,11 +20,9 @@ tar -xJvf node-"$_node_version"-"$_node_distro".tar.xz -C /usr/local/lib/nodejs
echo "PATH=/usr/local/lib/nodejs/node-$_node_version-$_node_distro/bin:$PATH" >> "$_home_dir"/.profile
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
echo 'deb https://dl.yarnpkg.com/debian/ stable main' | tee /etc/apt/sources.list.d/yarn.list
apt-get update && apt-get -y install yarn
apt-get update && apt-get -y install yarn curl zsh tmux ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip python-pip python3-pip tig fzf
apt-get -y install ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip python-pip python3-pip tig fzf
cd /tmp
git clone https://github.com/neovim/neovim
cd neovim
make CMAKE_BUILD_TYPE=Release
@ -38,6 +36,8 @@ su "$_user_www" -c "git clone https://git.rayelliott.dev/dots/nvim.git $_config_
su "$_user_www" --login -c 'yarn global add neovim'
su "$_user_www" --login -c 'python2 -m pip install --user --upgrade pynvim'
su "$_user_www" --login -c 'python3 -m pip install --user --upgrade pynvim'
su "$_user_www" --login -c "curl -fLo $_home_dir/nvim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim"
su "$_user_www" --login -c 'nvim --headless +PlugInstall +qall'
@ -51,20 +51,15 @@ else
fi
apt-get -y install tmux git
su "$_user_www" -c "git clone https://git.rayelliott.dev/dots/tmux.git $_config_dir/tmux"
su "$_user_www" -c "ln -bfs $_config_dir/tmux/tmux.conf $_home_dir/.tmux.conf"
su "$_user_www" -c "ln -bfs /$_config_dir/tmux/tmux $_home_dir/.tmux"
su "$_user_www" -c "ln -bfs /$_config_dir/tmux/tmux.colours-base16.conf $_config_dir/tmux/tmux.colours.conf"
apt-get -y install zsh git
mkdir -p "$HOME"/.config
cd "$HOME"
rm -Rf .config/zsh
su "$_user_www" -c 'git clone https://git.rayelliott.dev/dots/zsh.git /var/www/.config/zsh'
su "$_user_www" -c 'git clone https://github.com/tarjoilija/zgen.git /var/www/.config/zsh/zgen'
su "$_user_www" -c 'ln -bfs /var/www/.config/zsh/zshrc /var/www/.zshrc'
su "$_user_www" -c "git clone https://git.rayelliott.dev/dots/zsh.git $_config_dir/zsh"
su "$_user_www" -c "git clone https://github.com/tarjoilija/zgen.git $_config_dir/zsh/zgen"
su "$_user_www" -c "ln -bfs /var/www/.config/zsh/zshrc $_home_dir/.zshrc"
# set interactive shell
_zsh=$(command -v zsh)