-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathREADME
More file actions
35 lines (25 loc) · 1.43 KB
/
README
File metadata and controls
35 lines (25 loc) · 1.43 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
= codeigniter-scaffold
Simple scaffold generator for codeigniter 2.1.
== Usage
codeigniter-scaffold [options...]
-h, --help show this help
-i, --init unzip a codeigniter 2.1.2 installaion in the current dir
-s, --scaffold <model-name> field1:string, field2:text field3:integer, and so on..
== Pre-setup
1. After running 'codeigniter-scaffold --init':
* Open 'application/config/config.php' and set-up the 'base_url' property;
* Open 'application/config/database.php' and set-up your database settings;
2. After running 'codeigniter-scaffold --scaffold [options...]'
* Go to 'application/migrations' and run the generated script into your database;
3. Have fun =)
== Contributing to codeigniter-scaffold
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
* Fork the project.
* Start a feature/bugfix branch.
* Commit and push until you are happy with your contribution.
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
== Copyright
Copyright (c) 2012 jribeiro. See LICENSE.txt for
further details.