- PHP >= 5.4
- MySQL >= 5.1
- Create empty directory.
- Run
git init
inside your empty directory. - Add remote git url (
git remote add origin git@github.com:noormaulida/web-iacm.git
). You can useorigin
for remote name, or something that you like (example:something
). - Run
git pull origin master
orgit pull something master
(if you use another remote name). - Create dan configure
application/config/database.php
file based onapplication/config/database.php.default
. - Set manually
$config['migration_version'] = [number]
in fileapplication/config/migration.php
. Number used is the last prefix number of all files inapplication/migrations
. - Run
php index.php migrate
in the root project to migrate database. - Do step 6 and 7 manually if you're added new migration (Note: file migration name must be sequentially prefixed as setting
$config['migration_type']
inapplication/config/migration.php
file). - If you want to rollback the
017_name_file
migration (will useddown
method), use$config['migration_version'] = 16
(It means you should use the smaller number than your-prefix-migration-name-you-want-to-rollback). - Create username and password for admin with command
php index.php console new-admin [your email] [your password]
in the root project. - Try login in with url
/pages/login
. - Done!
- Don't push to branch
master
directly, create your local branch (example:momo
) or based on issue number you're working (example:issue-09
). - If you're ready to merge with master, create pull request for your branch and I'll give review for your excellent work (don't merge by yourself).
- Keep your local master branch update with remote master branch to avoid conflict.
- Please append
#issue-number
in your message when commiting something (example:git commit -m #4 Add new model
)
- Codeigniter 3.0.3
- MySql Database