Jump to content
Light-O-Rama Forums

Nutcracker: How to install Nutcracker on your local machine


smeighan

Recommended Posts

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

1) Download Wampp. http://www.wampserver.com/en/

2) Take all defaults for installation

3) Start Wamp. Click on the Pink W icon.

4) Test Wamp by setting your browser to http://localhost

if it is working, you will see the WAMP 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\nutcracker

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

Run c:\wamp\www\nutcracker\gnuplot\bin\PathEditor.exe as administrator

Add c:\wamp\www\nutcracker\gnuplot\bin

7) When you get Localhost working, install the database.

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 sql/nutcrackertables.sql to create all nutcracker tables

e) execute 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

Link to comment
Share on other sites

Issues with: http://localhost/phpmyadmin/'>http://localhost/phpmyadmin/

1) Wamp starts

2) http://localhost - I get the Pink emblem and Server Configuration Apache Version :2.2.21 PHP Version :5.3.8

However... When I click on phpmyadmin

IE: The website declined to show this webpage HTTP 403

FireFox and Chrome: Forbidden You don't have permission to access /phpmyadmin/ on this server.

Edited by Liberty-Laser
Link to comment
Share on other sites

Issues with: http://localhost/phpmyadmin/

1) Wamp starts

2) http://localhost - I get the Pink emblem and Server Configuration Apache Version :2.2.21 PHP Version :5.3.8

However... When I click on phpmyadmin

IE: The website declined to show this webpage HTTP 403

FireFox and Chrome: Forbidden You don't have permission to access /phpmyadmin/ on this server.

Do you have any conflict on port 80

"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.techsoft...ions.net/?p=315

For Wamp; the httpd.conf file is located in c:\wamp\bin\apache\apache2.2.22\conf directory"

one person ha dthis issue yesterday and they got it resolved. ill try to find out from them , what they did.

thanks

Link to comment
Share on other sites

No port 80 isn't an issue and just for the exercise I did try that work-around with the same results. Under WAMPSERVER I ran the Port Test for Port 80:

Your port 80 is actually used by:

Server: Apache/2.2.21 <Win64> PHP/5.3.8

More info - Win7 64bit HP laptop.

Edited by Liberty-Laser
Link to comment
Share on other sites

No port 80 isn't an issue and just for the exercise I did try that work-around with the same results. Under WAMPSERVER I ran the Port Test for Port 80:

Your port 80 is actually used by:

Server: Apache/2.2.21 <Win64> PHP/5.3.8

More info - Win7 64bit HP laptop.

when i searched google, there were lots of fixes. 403 is a permission issue about who you let come and use the database server.

One that was suggested, requires no changes was to launch myphpadmin llike this in browser

http://127.0.0.1/phpmyadmin/

if you want to read up on the others

http://serverfault.com/questions/350092/wamp-phpmyadmin-403-error-from-localhost-but-not-from-ip-127-0-0-1

http://stackoverflow.com/questions/8204902/wamp-403-forbidden-message

http://forum.wampserver.com/read.php?2,28005,28031

Link to comment
Share on other sites

How do you cut and paste that massive data file into the SQL window?

That is no longer needed.

After you unzip a nutcracker code file into /wamp/ww/nutcracker

you run this program

http://localhost/install.php

it will create database, user, assign privileges, create all tables, load 50K rows into those tables. This entire process takes about 3 seconds.

Thanks to MaterDaddy from DIYC for writing the script.

Link to comment
Share on other sites

Another solution to the: 127.0.0.1/phpmyadmin/

Edit C:\Windows\System32\drivers\etc\hosts

Change:

# 127.0.0.1 localhost

To:

127.0.0.1 localhost

Then localhost/phpmyadmin works just fine.

Link to comment
Share on other sites

Sean,

If we already have a local install of Nutcracker working and download the latest zip (1.0-124) can we just copy over the new files? Do we have to do anything to update the DB with your new tables?

-Mike

Hi Mike, excellent question

After you have wamp installed, you never need to repeat steps 1-4.

For these massive changes please do steps (5) and (7).

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\nutcracker. If you already have a nutcracker directory, just overwrite everything there.

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

7) When you get Localhost working, install the database.

http://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 sql/nutcrackertables.sql to create all nutcracker tables

e) execute sql/nutcrackerdata.sql to create 50,000 rows of data

MaterDaddy wrote this script for me, Thanks!!

So for step 7, you will see this

2012-09-13_0843.png

Modify nothing and just click submit.

You should then see this

2012-09-13_0857.png

Be sure to get a fresh zip file as i just added some more stuff.

thanks

Sean,

If we already have a local install of Nutcracker working and download the latest zip (1.0-124) can we just copy over the new files? Do we have to do anything to update the DB with your new tables?

-Mike

Hi Mike, excellent question

After you have wamp installed, you never need to repeat steps 1-4.

For these massive changes please dp steps (5) amd ((7).

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\nutcracker. If you already have a nutcracker directory, just overwrite everything there.

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

7) When you get Localhost working, install the database.

http://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 sql/nutcrackertables.sql to create all nutcracker tables

e) execute sql/nutcrackerdata.sql to create 50,000 rows of data

MaterDaddy wrote this script for me, Thanks!!

So for step 7, you will see this

2012-09-13_0843.png

Modify nothing and just click submit.

You should then see this

2012-09-13_0857.png

Be sure to get a fresh zip file as i just added some more stuff.

thanks

Link to comment
Share on other sites

what is nutcrackers basic function ?

Nutcracker is a web based tool that allows you to create animations for your RGB Megatree.

The tool has 20 different effects (spirals, meteors, scrolling text). You create an effect and then you export it for your sequence

for LOR it produces a lms file or a lcb file.

go to http://meighan.net/nutcracker/ and scroll down to see examples of the animations

thanks

Link to comment
Share on other sites

Nutcracker is a web based tool that allows you to create animations for your RGB Megatree.

The tool has 20 different effects (spirals, meteors, scrolling text). You create an effect and then you export it for your sequence

for LOR it produces a lms file or a lcb file.

go to http://meighan.net/nutcracker/ and scroll down to see examples of the animations

thanks

Thanks that might come in handy after i am done figureing out RGB well after i start recieving the ray boards

Link to comment
Share on other sites

  • The topic was locked
Guest
This topic is now closed to further replies.
×
×
  • Create New...