Compare commits

..

No commits in common. "462d529a58c24be909d24f7ca5e9c9a4a8d09d96" and "cbfd69490ccf92852fe709654e0d182bfad84c7f" have entirely different histories.

2 changed files with 12 additions and 16 deletions

View File

@ -8,9 +8,6 @@ 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"
@ -21,13 +18,7 @@ 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="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'
export _wp_plugins_active="elementor wp-mail-smtp gdpr-cookie-compliance regenerate-thumbnails"
# remote configuration

View File

@ -20,9 +20,11 @@ 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 curl zsh tmux ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip python-pip python3-pip tig fzf
apt-get update && apt-get -y install yarn
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
@ -36,8 +38,6 @@ 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,15 +51,20 @@ 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"
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"
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'
# set interactive shell
_zsh=$(command -v zsh)