##About BC Skills: An Open Source Boston College Platform
BC Skills is an open source platform built by Boston College students for Boston College students. This project has two main goals: to help connect technical and entrepreneurial students to build new start ups, and teach students how to collaborate through open source applications.
##Installation
###Forking This Repository Fork this repository by using the following Git command:
git clone [email protected]:pcas00/bc_css_sandbox.git
If you want a quick tutorial on how to fork, click here.
If you need help getting started with GitHub, click here to learn more.
Setting up on mac? check out this guide
###Importing Test Database Data This applicaton uses a PostgreSQL backend. To import dummy data, after forking this repository, import the database.sql file located in the root directory of this application.
For one-click PostgreSQL installation, click here to visit a PostgreSQL download web site.
###Installing Database With CodeIgniter Once you have forked the PHP application and installed your PostgreSQL database with dummy data, you will need to connect it to the application! This can be done by navigating to the Application folder, then opening the Config folder, and then opening the Database.php file.
You will only be concerned with editing the following lines of code:
$db['default']['hostname'] = 'hostnamehere'; //Usually localhost $db['default']['username'] = 'usernamehere'; //May be postgres $db['default']['password'] = 'yourpasswordhere'; //Whatever password you chose to setup the database $db['default']['database'] = 'yourdatabasenamehere'; //Name of the database. We used css for "computer science society"!
Important: you must comment out this line (number 53)
//extract(parse_url($_ENV["DATABASE_URL"]));
Save this file, and open it on your local server
###Installing a Local Server If you are running a Mac, you can easiy setup a PHP Apache environment by clicking here and checking out this tutorial.
If you are running Windows, an easy way to install a local server is by using WAMP. Click here to view installation instructions and get started quickly.
Please make an effort to enhance the functionality of this application! We encourage everyone, of any skill level, to try and extend features, fix bugs, or enhance documentation. If you know how to do something better, share it!
Make sure you do not commit your project settings, local files that do not belong in the repository, or configuration settings. These pull requests will have to be rejected.
##Getting Help If you need help getting started, do not hesitate to contact Peter Casinelli at [email protected] . If you have questions regarding how Codeigniter or PostgreSQL works, or particular functionality, please refer to the documentation help below!
##Documentation
This PHP application is being built using an open source PHP framework called Codeigniter. If you have general questions about code being used, you can always refer to Codeigniter's documentation here.
For documentation regarding PostgreSQL databases, click here visit the documentation web page.