-
Notifications
You must be signed in to change notification settings - Fork 0
Developers
This Page has information for Developers, who would like to contribute to the IITMConnect Application.
The IITMConnect App is built on Laravel Framework.
Laravel utilizes Composer to manage its dependencies. First, download a copy of the composer.phar
. Once you have the PHAR archive, you can either keep it in your local project directory or move to usr/local/bin
to use it globally on your system.
Clone the repository on your localhost
git clone https://github.com/IAR-Webops/IITMConnect.git
After cloning the repository, install the project dependencies by running
composer install
After following the above instructions, test to see if everything is in order by running the application
php artisan serve
If you run into permission issues refer to the Installation instructions given on the Laravel Framework website. If you want exact commands or are setting up the server from scratch then refer to this Blog Post.
Enter your db credentials in app/config
directory.
Open the file named database.config.example
and enter your database credentials under the mysql array.
Then rename the file as database.config
.
You can refer to the file here
Once you have entered your db credentials, run a db migrate to create the required tables for the IITMConnect App.
php artisan migrate --seed
Make sure you run the command with the --seed
attribute, this makes sure that the db is automatically filled with all the static data of Departments, Hostels and Minors.
The IITMConnect Wiki can currently be edited only by the repository collaborators.
If you find any bugs/corrections in the wiki then :
- Create a new Ticket in the Issues section describing the bug, or
- Drop a mail to yashmurty@gmail.com