Skip to content

Commit

Permalink
fix typo in sys link for .vimrc in dotfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
caiosv committed Oct 24, 2013
1 parent 9f29d9a commit 80e3a4a
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions lightfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

# env database
env.db_root = 'root'
env.db_root_pass = ''
env.db_root_pass = 'toor'
env.db_user = 'csv'
env.db_user_pass = ''
env.db_user_pass = 'atrend08128813'
env.db_name = 'atrend'
# MySQL database commands
env.db_create_user = 'CREATE USER "%(db_user)s"@"localhost" IDENTIFIED BY "%(db_user_pass)s"' % env
Expand All @@ -37,15 +37,13 @@
"nginx",
"nginx-full",
"git",
"git-man",
"nginx",
"nginx-full",
"mysql-server",
"python-mysqldb",
"mysql-common",
"mysql-client",
"libmysqlclient-dev",
"openjdk-7-jre"
]

# VERSION
Expand Down Expand Up @@ -116,7 +114,7 @@ def clone_dotfiles():

print magenta('MAKE SYS LINK TO .vim and .vimrc' % env)
run('ln -s %(home)s/dotfiles/vim %(home)s/.vim' % env)
run('ln -s %(home)s/dotfiles/vimrc %(home)s/.vimrc' % env)
run('ln -s %(home)s/dotfiles/vim/vimrc %(home)s/.vimrc' % env)

print magenta('INIT GIT SUBMODULE AND UPDATE IT')
with cd('%(home)s/dotfiles' % env):
Expand Down Expand Up @@ -263,8 +261,9 @@ def main():
startTime = datetime.now()
#install_packages()
#git_global_config()
start_project()
restart_webservers()
clone_dotfiles()
#start_project()
#restart_webservers()

#from light.main import file_find_word
#m_dict = file_find_word('/home/ubuntu/confs/light/lightfile.py')
Expand Down

0 comments on commit 80e3a4a

Please sign in to comment.