Skip to content

Commit

Permalink
Updated initial_setup script to install new libraries and the nokogir…
Browse files Browse the repository at this point in the history
…i gem ahead of the bundle install to speed up overall initial installation time
  • Loading branch information
jasbur committed Nov 1, 2017
1 parent 343f6f9 commit 6a5dbdf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion initial_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ def install_prereqs():
print("Updating Apt...")
os.system('apt update')
print("Installing prerequisites via Apt...")
os.system('apt install python3 bundler libsqlite3-dev isc-dhcp-server hostapd -y')
os.system('apt install python3 bundler libsqlite3-dev isc-dhcp-server hostapd libxml2-dev libxslt-dev -y')
print("Installing necessary Ruby Gems. This can take a few minutes...")
os.system('gem install nokogiri --no-document -v 1.6.6.2 -- --use-system-libraries')
os.system('bundle install --gemfile=' + project_path + '/Configuration\ App/Gemfile')

def update_config_paths():
Expand Down

0 comments on commit 6a5dbdf

Please sign in to comment.