Skip to content

Commit 6a5dbdf

Browse files
committed
Updated initial_setup script to install new libraries and the nokogiri gem ahead of the bundle install to speed up overall initial installation time
1 parent 343f6f9 commit 6a5dbdf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

initial_setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ def install_prereqs():
1010
print("Updating Apt...")
1111
os.system('apt update')
1212
print("Installing prerequisites via Apt...")
13-
os.system('apt install python3 bundler libsqlite3-dev isc-dhcp-server hostapd -y')
13+
os.system('apt install python3 bundler libsqlite3-dev isc-dhcp-server hostapd libxml2-dev libxslt-dev -y')
1414
print("Installing necessary Ruby Gems. This can take a few minutes...")
15+
os.system('gem install nokogiri --no-document -v 1.6.6.2 -- --use-system-libraries')
1516
os.system('bundle install --gemfile=' + project_path + '/Configuration\ App/Gemfile')
1617

1718
def update_config_paths():

0 commit comments

Comments
 (0)