This is the new branch for the manager rewrite of UNL Events. This branch will eventually contain the manager, frontend, and backend, all in one repo.
- run
cd vagrant/dev
- run
vagrant up
- Wait for vagrant to install, this can take quite a long time.
- The initial install will take place, including the manual tasks outlined below.
- Install the sample data set
You will need to load an sql data set. You can do this by:
- copy the .sql file to the project root
- run
cd vagrant/dev
- run
vagrant ssh
with the vagrant machine running - once you are ssh'd into the machine, run
cd /var/www/html
- run
mysql -uevents -ppassword events < name-of-your-sql-file.sql
- run
git submodule init
- run
git submodule update
- run
cp config.sample.php config.inc.php
- run
cp www/sample.htaccess www/.htaccess
- run
composer install
Don't get composer through brew, as it is outdated in there. Instead get it at the composer website. - run
wget -r -nH -np -l 15 --cut-dirs=1 --reject "index.html*,*.LCK" http://wdn.unl.edu/wdn/ -P www/wdn/
to get the latest WDN stuff. - This misses an empty file that the code looks for. Run
touch www/wdn/templates_4.0/includes/wdnResources.html
- You need to compile the stuff. First,
npm install less-plugin-clean-css
This dependency is missing for some reason. - Now
make
. Your assets should now be compiled. - Set up a database. For now we are copying down the live data into a development database.
- customize config.inc.php and www/.htaccess to your environment.