-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
64 lines (59 loc) · 1.38 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
a "hello world" style web app using sinatra / datamapper / haml
there are three directories for the MVC stuff:
- models
- views
- controllers
and two additional directoriess for house-keeping:
- db: for the database
- public: for the css and js and images
this software is covered under the MIT License
see LICENSE for further details
1010 mate .
1011 ruby application.rb
1012 gem install sinatra
1013 ruby application.rb
1014 gem install reloader
1015 vim application.rb
1016 ruby application.rb
1017 sudo gem install reloader
1018 sudo gem install addressable english rspec
1019 sudo gem install data_object do_mysql do_postgres do_sqlite3
1020 sudo gem install data_objects do_mysql do_postgres do_sqlite3
1021 sudo gem install dm-core
1022 ruby application.rb
1023 irb
1024 sudo gem install data_mapper
1025 ruby application.rb
1026 gem install dm-sqlite-adapter
1027 ruby application.rb
1028 gem install haml
1029 ruby application.rb
1030 ls
1031 cd dp
1032 cd db
1033 ruby application.rb
1034 cd ..
1035 ls
1036 cd ..
1037 cd ComeDanceWithMe
1038 ruby application.rb
1039 wpd
1040 pwd
1041 irb
1042 cd db
1043 irb
1044 cd ../models
1045 ls
1046 irb
1047 cd ..
1048 ls
1049 vim models/Post.rb
1050 irb
1051 pwd
1052 cd models
1053 ls
1054 irb
1055 pwd
1056 cd ..
1057 ls
1058 ruby application.rb