-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathREADME
More file actions
58 lines (38 loc) · 1.14 KB
/
README
File metadata and controls
58 lines (38 loc) · 1.14 KB
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
== File Upload Application
*Added updated instructions and added seed to make it easier for users learning rails based on emails received
My first ruby and rails application from scratch. This application uploads filesfrom a user and saves it on a server.
User
* Will be able to upload, download and delete there files
Admin
*Able to see all users and delete users if required
Install all gems
'''
bundle install
'''
Setup database
'''
RAILS_ENV=development rake db:migrate
'''
Create admin user
'''
RAILS_ENV=development rake db:seed
'''
Admin credentials
'''
email: admin@upload.com
password: admin
'''
Start rails app
'''
rails s
'''
Now visit localhost:3000
App currently uses:
1. Twitter Bootstrap for UI etc(http://twitter.github.com/bootstrap/)
2. Devise for authentication (https://github.com/plataformatec/devise)
3. Paperclip for handling uploads
4.Annotate for detailed model info
I am still learning, so if you happen to stop by here. Please feel free to make suggestions, comments etc. Actively seeking a ruby on rails mentor, or buddy to learn with and bounce questions off every now and again.
TODO
**Write some tests
**Other fixes