Spacebrew MADess: Running Your Own Server

5,401 views
5,471 views

Published on

This is the presentation from the Spacebrew workshop that we held at the Museum of Art and Design on June 1st. It gives an overview of Spacebrew, and walks through how to run your own local instance of the Spacebrew server.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
5,401
On SlideShare
0
From Embeds
0
Number of Embeds
4,103
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Spacebrew MADess: Running Your Own Server

  1. 1. r u n n i n g y o u r o w n s e r v e r
  2. 2. A N I N T E R A C T I O N D E S I G NS T U D I O T H A T E X P L O R E ST H E I N T E R S E C T I O N O FO U R P H Y S I C A L A N DV I R T U A L W O R L D S .P H Y S I C A LPHYSICAL VIRTUALThursday, August 30, 12V I R T U A L
  3. 3. W E T H I N K A B O U T C H O R E O G R A P H I N GE N V I R O N M E N T S T O C R E A T E S P A C E S T H A TT E L L S T O R I E SO U R F O C U S I S O N T H E I N T E R A C T I O NB E T W E E N P E O P L E , O B J E C T S A N DE N V I R O N M E N T S
  4. 4. O U R D E S I G N P R O C E S S R E L I E S O N P R O T O T Y P I N GA N D L E A R N I N G T H R O U G H M A K I N G .O U R T O O L K I T I N C L U D E S A N E V E R - E X P A N D I N GC O L L E C T I O N O F H A R D WA R E A N D S O F T WA R E .O U R W O R K R E Q U I R E S C H O R E O G R A P H I N G T H E S EC O M P O N E N T S T O C R E A T E U N I Q U E S O L U T I O N S .
  5. 5. P U B L I S H E R S , A N D S U B S C R I B E R S .clientappclientappclientappclientappC L I E N T - S E R V E R M O D E L
  6. 6. T H R E E S T A N D A R D T Y P E ST R U E O R F A L S E V A L U E SI N T E G E R V A L U E S B E T W E E N 0 - 1 0 2 3T E X T S T R I N G S
  7. 7. S W I T C H B O A R D F O R R O U T I N G1 9 2 . 1 6 8 . 1 . 1 0 1 : 8 0 0 0 / a d m i n1 9 2 . 1 6 8 . 1 . 1 0 1 : 8 0 0 0 / s l i d e r
  8. 8. W E B S O C K E T S - B A S E DE X I S T I N G L I B R A R I E SJS
  9. 9. L O C A L O R R E M O T E S E R V E R
  10. 10. O P E N S O U R C E
  11. 11. L I V E D E M O S1 9 2 . 1 6 8 . 1 . 1 0 1 : 8 0 0 0 / s l i d e r1 9 2 . 1 6 8 . 1 . 1 0 1 : 8 0 0 0 / s t r i n g1 9 2 . 1 6 8 . 1 . 1 0 1 : 8 0 0 0 / b u t t o n1 9 2 . 1 6 8 . 1 . 1 0 1 : 8 0 0 0 / a d m i nO U T P U T : L E D B A R | L A M PI N P U T : C A M E R A | P I N W H E E L
  12. 12. W O R K S H O P
  13. 13. R U N N I N G A L O C A L S P A C E B R E W S E R V E R
  14. 14. 4 - S T E P SO N E . I N S T A L L N O D E . J ST W O . D O W N L O A D S P A C E B R E W S E R V E RT H R E E . I N S T A L L N O D E M O D U L E SF O U R . R U N S P A C E B R E W S E R V E R
  15. 15. O N E . I N S T A L L N O D E . J SA . D O W N L O A D F R O M N O D E J S . O R GB . I N S T A L L P A C K A G E
  16. 16. T W O . D O W N L O A D S P A C E B R E W S E R V E RD O W N L O A D F R O MG I T H U B . C O M / S P A C E B R E W / S P A C E B R E WC L O N E R E P O$ g i t c l o n e h t t p s : / / g i t h u b . c o m / S p a c e b r e w / s p a c e b r e w . g i tO R
  17. 17. T H R E E . I N S T A L L N O D E M O D U L E SA . O P E N T E R M I N A L O R O T H E R C O M M A N D L I N E A P PB . N AV I G A T E T O S P A C E B R E W F O L D E RC . I N S T A L L N P M D E P E N D E N C I E SW E B S O C K E T S :$ n p m i n s t a l l w sF O R E V E R - M O N I T O R :$ n p m i n s t a l l f o r e v e r - m o n i t o r
  18. 18. F O U R . R U N S P A C E B R E W S E R V E RA . L A U N C H S P A C E B R E W W I T H T E R M I N A L C O M M A N D$ n o d e n o d e _ s e r v e r _ f o r e v e r . j sB . F I N D Y O U R I P A D D R E S S$ i f c o n f i gC . C O N N E C T C L I E N T A N D A D M I N A P P S1 9 2 . 1 6 8 . 1 . 1 0 1 : 8 0 0 0 / s l i d e r / i n d e x . h t m l ? s e r v e r = y o u r _ I P1 9 2 . 1 6 8 . 1 . 1 0 1 : 8 0 0 0 / g r a p h / i n d e x . h t m l ? s e r v e r = y o u r _ I P1 9 2 . 1 6 8 . 1 . 1 0 1 : 8 0 0 0 / a d m i n / i n d e x . h t m l ? s e r v e r = y o u r _ I P
  19. 19. 1 9 2 . 1 6 8 . 1 . 1 0 1 : 8 0 0 0 / a d m i n /i n d e x . h t m l ? s e r v e r = y o u r _ I P1 9 2 . 1 6 8 . 1 . 1 0 1 : 8 0 0 0 / g r a p h /i n d e x . h t m l ? s e r v e r = y o u r _ I PF O U R . R O U T E I T, G R A P H I T
  20. 20. M O R E . S P A C E B R E W O P T I O N S- - p o r t ( - p ) : s e t p o r t f o r s p a c e b r e w s e r v e r ( d e f a u l t 9 0 0 0 )- - h e l p ( - h ) : p r i n t h e l p t e x t- - l o g ( - l ) : s e t s l o g g i n g t o i n f o l e v e l- - l o g l e v e l : s e t l o g g i n g t o i n f o , d e b u g , w a r n , e r r o r- - n o p e r s i s t : t u r n s o f f l i v e p e r s i s t f u n c t i o n a l i t y- - p e r s i s t : t u r n s o n l i v e p e r s i s t f u n c t i o n a l i t y- - p i n g : p i n g c l i e n t s t o f i n d d i s c o n n e c t e d d i s c o n n e c t e d c l i e n t s- - n o p i n g : o p p o s i t e o f - - p i n g- - p i n g i n t e r v a l : i n t e r v a l i n m s b e t w e e n p i n g s- - c l o s e ( - c ) : f o r c e c l o s e c l i e n t s t h a t d o n t r e s p o n d t o p i n g s- - t i m e o u t ( - t ) : m i n i m u m n u m b e r o f m s t o w a i t f o r r e s p o n s e p o n gb e f o r e f o r c e c l o s i n g
  21. 21. M O R E . F R A M E W O R K S A N D L I B R A R I E Sg i t h u b . c o m / S p a c e b r e w / s p a c e b r e w . j sp r o c e s s i n g . o r gg i t h u b . c o m / S p a c e b r e w / o f x S p a c e b r e wo p e n f r a m e w o r k s . c cg i t h u b . c o m / S p a c e b r e w / s p a c e b r e w P 5p y t h o n , o r gg i t h u b . c o m / S p a c e b r e w / p y S p a c e b r e wa r d u i n o . c cJ AVA S C R I P Ts p a c e b r e w . j sP R O C E S S I N G ( 2 . 0 )S p a c e b r e w - P 5 l i b r a r yO P E N F R A M E W O R K So f x S p a c e b r e w a d d o nP Y T H O Np y s p a c e b r e w l i b r a r yA R D U I N OJS
  22. 22. S E R V E R H O S T : 1 9 2 . 1 6 8 . 1 . 1 0 1C U S T O M I Z I N G E X A M P L E SA P P N A M E : Y O U C H O O S E
  23. 23. K E E P B R E W I N GJ O I N O U R G O O G L E G R O U P A N D T E L L U SA B O U T Y O U R P R O J E C T SH T T P S : / / G R O U P S . G O O G L E . C O M / D /F O R U M / S P A C E B R E W - C C

×