Nutcracker: Local I...
 
Notifications
Clear all

Nutcracker: Local Install of Nutcracker

99 Posts
26 Users
0 Reactions
37.4 K Views
smeighan
Posts: 2595
Topic starter
(@smeighan)
Famed Member
Joined: 15 years ago
[#20792]

Nutcracker needs an Apache server and a MySql database running on your winodws (XP, 7) machine.

There are two choices for getting these, WAMP or XAMPP. I have used both.

Here are the steps to install Nutcracker on your local Windows 7 or Windows XP box

1) Download
Wampp. http://www.wampserver.com/en/
or
Xampp. http://sourceforge.net/projects/xampp/files/latest/download
2) Take all defaults for installation
3) Start Wamp. Click on the Pink W icon.
or
start Xampp and click Start for the Apache and Mysql applications.

4) Test Wamp or Xampp by setting your browser to http://localhost
if it is working, you will see the WAMP/XAMPP home page.

Apache server uses port 80. If you have Skype or microsoft HTTP/2.0 they also use port 80.
Here is a web page that describes how to fix this conflict. http://blog.techsoftsolutions.net/?p=315
For Wamp; the httpd.conf file is located in c:\wamp\bin\apache\apache2.2.22\conf directory

5) You now need to get a copy of the current Nutcracker code tree. Go to
http://smeighan.github.com/nutcracker/ and download the zip file. This file is updated daily with the latest Nutcracker code tree and with the latest export from meighan.net/nutcracker database
Unzip this file into c:\wamp\www
utcracker if using WAMP
or
unzip it into c:\xampp\htdocs
utcracker if you are using XAMPP

This zip file also now contains gnuplot so you dont need to install it separately.

6) Add gnuplot into Windows PATH environment variable.
I found a much better tool to do this and i have included the tool in the nutcracker zip file
WAMP:
Run c:\wamp\www
utcracker\gnuplot\bin\PathEditor.exe as administrator
Add c:\wamp\www
utcracker\gnuplot\bin

or

XAMPP:
Run c:\xampp\htdocs
utcracker\gnuplot\bin\PathEditor.exe as administrator
Add c:\xampp\htdocs
utcracker\gnuplot\bin

7) When you get Localhost working, install the database.
Enter http://localhost/nutcracker/install.php in a browser window
This command will do the following

a) Drop all the tables from your existing nutcracker database
b) create the nutcracker database if it is missing
c) create the nutcracker user: nc_user
d) execute nutcracker/sql/nutcrackertables.sql to create all nutcracker tables
e) execute nutcracker/sql/nutcrackerdata.sql to create 50,000 rows of data
MaterDaddy wrote this script for me, Thanks!!

Your local nutcracker should be ready

login in as
http://localhost/nutcracker

same login and password as you have always used.

For future code releases, you just do step (5) above. Just unzip the file on top of your local nutcracker directory. This step is only a few seconds. In the future, we will make a button to download and install the zip file for you. This prob wont happen this season as we work on the real guts of Nutcracker

a) Projects , soon a single button that generates and entire 3 minute song and creates the sequencer file for you
b) Single strand effects (eaves, windows, arches). Model generator released yesteday, effects coming this week
c) Local Install, released yesterday
d) Horizontal matrix. It is Next up after single strand effects
e) 20 open bugs/enhancements


98 Replies
Posts: 132
(@brianj)
Estimable Member
Joined: 14 years ago

Sean,
Thanks for this. My port 80 error was caused by an earlier installation of microsoft sql server. I wasn't needing it for anything so I removed it and WAMP installed great.
On following your install instructions above everything went very well. There are only two things to note. I had to make sure that I was running the PathEditor as an admin to save the changes.
The other thing was I needed to add nutcracker/ to the path for the install app which also worked great. Thanks Materdaddy!!! so the new path for the install was http://localhost/nutcracker/install.php

Now that I have it up and running on the local host, there is a couple of error boxes on the first screen after login. are these normal and how do I get rid of them?

Thanks again to everyone that is now working to make nutcracker the amazing piece of software that it is.

NCerrors

Reply
smeighan
Posts: 2595
Topic starter
(@smeighan)
Famed Member
Joined: 15 years ago
BrianJ wrote:Sean,
Thanks for this. My port 80 error was caused by an earlier installation of microsoft sql server. I wasn't needing it for anything so I removed it and WAMP installed great.
On following your install instructions above everything went very well. There are only two things to note. I had to make sure that I was running the PathEditor as an admin to save the changes.
The other thing was I needed to add nutcracker/ to the path for the install app which also worked great. Thanks Materdaddy!!! so the new path for the install was http://localhost/nutcracker/install.php

Now that I have it up and running on the local host, there is a couple of error boxes on the first screen after login. are these normal and how do I get rid of them?

Thanks again to everyone that is now working to make nutcracker the amazing piece of software that it is.

I have fixed the first post to amend those two errors.

The local installs will have php set to super sensitive mode.
If a variable sometimes has a value and sometimes can be null, you will get the orange error box.

On meighan.net/nutcracker the error level is set one value lower. No warning orange boxes.

These warnings do not effect your sequences but they are annoying. Kurt and I like to develop with the highest warning level.

I will probably make the install set the warning level back a notch and they will disappear.

Again, orange boxes won't effect your sequences.

I am curious what time differences you are seeing?

For example
On meighan.net for a spirals effect on 2400 channels
25 seconds to generate and 35 seconds to download user patterns.xml = 60 secs total

On local host
20 seconds to generate and 1 sec to save user patterns.xml = 21seca

Thanks


Reply
Posts: 132
(@brianj)
Estimable Member
Joined: 14 years ago

I was just going to look at that but unable to create single string targets still 🙁


Reply
jaywalk101
Posts: 761
(@jaywalk101)
Prominent Member
Joined: 15 years ago

Sweet.. I was able to get this working.. however it seems like the Vixen outputs aren't working anymore.. on your website and my local version....


Reply
Page 1 / 20
Share: