codeTech Computer Club was founded at Mira Costa College Oceanside in early-2013. Our goal was to bring together students, graduates, teachers, and industrymen, all who were aspiring to enter or who had experience in technology fields. We would share our knowledge and build great things together.
codeTech's website serves a few purposes:
This project is led by Jackson Ray Hamilton (jackson@jacksonrayhamilton.com). Email him if you want to help out!
Further contact info is also available on our Contact page.
The website has dependencies that need to be installed with Composer.
You should open php.ini, Ctrl+F for display_errors
, and set it to True
. This
way PHP will actually throw errors, which will make the installation process
easier in case anything goes wrong.
sudo apt-get install git php5
brew install git
git clone https://github.com/codetech/codetechcomputerclub.git
cd codetechcomputerclub
php bin/composer.phar install
Make the cache writable:
sudo chmod -R 777 app/tmp/cache/
You might also need to enable mod_rewrite
:
sudo a2enmod rewrite && sudo service apache2 restart
codetechcomputerclub
folder you just extracted.c:\php\php.exe
with your path to php.exe
. (Figure out where it is.)c:\php\php.exe bin\composer.phar install
If the above command doesn't work, install Composer on your system and then (in the codetechcomputerclub
folder) issue the following command:
composer install
bin/database.sql
. Run the commands contained therein to set up the website's database.
mysql < bin/database.sql
.database.sql
into the "Run SQL query/queries" form, and click "Go".app/Config/database.php.default
named database.php
. Fill out your credentials in the $development
array, and change the __construct()
function if you want to use a ServerName other than localhost
or ctcc.local
.Open up /etc/apache2/apache2.conf
, or httpd.conf
(wherever it may be on your system), or create a new virtual host.
apache2.conf
or httpd.conf
, make sure the following components and the <Directory>
directive are included. Your paths will probably differ.DocumentRoot "/var/www/app/webroot"
SetEnv CAKEPHP_DEBUG 1
<Directory "/var/www">
AllowOverride all
Order allow,deny
Allow from all
Require all granted
</Directory>
<VirtualHost *>
DocumentRoot "/var/www/ctcc/app/webroot"
ServerName ctcc.local
SetEnv CAKEPHP_DEBUG 1
<Directory "/var/www/ctcc">
AllowOverride all
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
ctcc.local
to the /etc/hosts
file (Linux / Mac), or the C:\Windows\System32\drivers\etc\hosts
file (Windows).apache2.conf
or httpd.conf
. (This process is different for every system, so have fun Googling.)app/Config/email.php.default
named app/Config/email.php
.$gmail
array.