- Click the small down arrow in the top right corner of Navigator, click Filters.
- Check *., then click OK.
Getting express working on Windows 7 did not work exactly as shown in the vast majority of tutorials/blogs that I found.
While simple, it requires an additional step or two.
Before we start, the following are the current versions of node and npm that I’m using on Windows 7:
Open PowerShell, then type:
npm install express
Unfortunately, this installs express in:
If you try to start the node.js server with require(‘express’), node will be unable to find express.
To correct for this issue, do the following:
Open Windows Explorer to (replace Akbar with your user name): C:\Users\Akbar
Copy the node_modules folder.
Open the folder that contains your node app, such as: C:\my_node_app
Paste the node_modules folder.
That’s it. run the node server and everything should work fine.
Please see my prior post on how to Setup virtualenv on Windows.
Open PowerShell, then enter the following commands:
pip.exe install tornado -E .\env_tornado
If you want to install in the global site packages, then skip pip above and use:
That’s it. Time to start writing code.
I’m going to assume you have Python 2.7 correctly installed on Windows at C:\Python27. These instructions are applicable to Windows XP and Windows 7.
Open Windows PowerShell, then enter:
.\Scripts\virtualenv.exe –no-site-packages env_tornado
And now to activate the new environment:
The new virtual environment is now setup and ready for use
I have finally stopped installing Flash in my browsers by default. Up to now, I used to install Flash as soon as I upgraded my browser.
However, it’s time to start the transition to the brave new world of HTML (including HTML5).
Flash, it’s been great.