Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a static webserver for your examples #1

Open
wants to merge 43 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
b9b2f93
Initial commit
piscis May 16, 2014
8687e19
First set of examples for chapter 1 and 2
piscis Jul 14, 2014
0540897
Fonts for text example
piscis Jul 14, 2014
3918e0d
Extra assets
piscis Jul 14, 2014
5c89177
Libraries in use
piscis Jul 14, 2014
377655b
Libraries in use
piscis Jul 25, 2014
5edd70b
MTL and texture
piscis Jul 25, 2014
5b88aa3
Placeholders for examples of chapter three.
piscis Jul 25, 2014
cfb8cfe
Small changes made during writing
piscis Aug 6, 2014
708ec23
Some additional textures
piscis Aug 6, 2014
e32fbd8
Gitignore temp directories
piscis Aug 6, 2014
428e334
Initial skeletons and implementations for most recipes
piscis Aug 8, 2014
e092d21
some additional resources
piscis Aug 8, 2014
171efb9
More textures, models and resources for chapter four
piscis Aug 8, 2014
62edbd6
Updated examples
piscis Aug 22, 2014
a99eb05
Some additional textures
piscis Aug 22, 2014
d91315d
Some additional textures
piscis Aug 22, 2014
a619d44
Initial placeholders for the samples
piscis Aug 29, 2014
30af424
Updated examples for chapter 5
piscis Sep 16, 2014
3a3263f
Updated examples for chapter 6
piscis Oct 3, 2014
ebc7228
New example and updated textures
piscis Oct 3, 2014
63fa9de
Updated assets and models
piscis Oct 3, 2014
98aac44
Examples for chapter seven
piscis Oct 12, 2014
35edb2e
extra examples
piscis Oct 12, 2014
c5e2935
extra examples
piscis Oct 12, 2014
0708fac
new models and additional libraries
piscis Oct 12, 2014
a9ae350
small updates
piscis Oct 19, 2014
235807a
Code style cleanup and final test
piscis Nov 30, 2014
d7391cd
Code style cleanup and final test
piscis Nov 30, 2014
84fe361
Code style cleanup and final test
piscis Nov 30, 2014
1a9d98a
Code style cleanup and final test
piscis Nov 30, 2014
9e4c3d8
Code style cleanup and final test
piscis Nov 30, 2014
711e5e4
Code style cleanup and final test
piscis Nov 30, 2014
43d4928
new version r69
piscis Nov 30, 2014
dbf8f5d
new files and assets
piscis Nov 30, 2014
5906349
new files and assets
piscis Nov 30, 2014
1e3467f
Final change before release
piscis Jan 21, 2015
b7b4f11
Cleanup of titles
piscis Feb 21, 2015
667acff
add a static webserver configuration for nodejs
Aug 31, 2015
b9b1108
add a static webserver configuration for nodejs
piscis Aug 31, 2015
c5c87d6
additional information for README.md
Aug 31, 2015
1896776
additional information for README.md
piscis Aug 31, 2015
2ff4092
Merge branch 'master' of https://github.com/piscis/threejs-cookbook
piscis Aug 31, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
.idea
node_modules
temp/
experiments/

5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@ threejs-cookbook
================

Examples for the Three.js Cookbook book I'm writing for Packt

### Local Webserver (NodeJS)
If you have installed NodeJS you can start a local web server by opening a command prompt and enter `npm start`. This will
install webserver in the local project directory and running it on port **0.0.0.0:8081**.

25 changes: 25 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "threejs-cookbook",
"version": "1.0.0",
"private": true,
"description": "Examples for the Three.js Cookbook book published by packt http://www.smartjava.org",
"main": "",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prestart": "npm install --production",
"start": "http-server ./"
},
"repository": {
"type": "git",
"url": "https://github.com/josdirksen/threejs-cookbook"
},
"author": "Jos Dirksen",
"license": "",
"bugs": {
"url": "https://github.com/josdirksen/threejs-cookbook/issues"
},
"homepage": "https://github.com/josdirksen/threejs-cookbook",
"dependencies": {
"http-server": "^0.8.0"
}
}