This is the new, Laravel-based website for DECaF, the Disciplines of Engineering Career Fair at UCSD. This project is run by TESC, The Triton Engineering Student council. For more information, please contact TESC leadership.
-
Ensure that you have downloaded homestead and composer. Documentation about installing Composer can be found here and documentation regardiing homestead is here
-
Download and install the latest version of Node.js and npm (The node package manager) from here or by running
brew install node
-
Install gulp and bower globally
npm install -g bower gulp
- Install composer dependencies
composer install
- Install node modules
npm install
- Install bower components
bower install
- If you would like to use features requring a database, set up the development database with sqlite and run the migrations. For now the database, is empty, so only the schema needs to be generated. Later, you may need to seed the db with sample data.
touch storage/development.sqlite
php artisan migrate
- SSH into the homestead VM. Run gulp to make the front-end dependencies and start the server with Nginx.
homestead up && homestead ssh
# From inside the VM
gulp
sudo service nginx restart
- If you would like to watch the file system for additional changes and rebuild each time there is one, tell gulp to watch the file system.
gulp watch