Warning
This is an old website for LUCompSoc, archived for your viewing purposes. Find the new website on our GitHub. Below are some stats of the repo, in-case you're curious :D
- Created: 12th September 2016
- Last updated: 4th November 2016
- More info: GitWhois
This is the main site for LUCSS which is built on top of October (which in turn is built on top of Laravel).
Once you've installed Vagrant, follow these steps:
- Run
git clone --recursive https://github.com/LUCompSoc/Web.git compsoc-devand thencd compsoc-dev. - Point
compsoc.lancs.localto the provided IP address in your/etc/hostsfile. - Rename
.env.exampleto.env - Run
vagrant up. This uses the providedVagrantfilewhich you may configure as you need. The first time you do this might take a while. - SSH into the box with
vagrant ssh. - Make sure you're in
/var/www/html. - Run
composer installto install all the dependencies into/vendor(this can take a while, if you just see "Killed" then give the box more memory, but 2048MB should be more than enough). - You'll need to create a new MySQL database called
lucssbefore you can: - Run
php artisan october:upto run all the migration procedures. - Run
php artisan key:generateto generate a new key. - Navigate to
http://compsoc.lancs.local/backendand you can use usernameadminand passwordpassword.
- You have to change
/var/www/publicto/var/www/htmlin/etc/apache2/sites-available/001-default.confon the box. Additionally remove the default scotchbox. Remember to restart apache to take effect. - You have to 'activate' the main theme before you can see the front-end. Go to Settings > CMS > Front-end Theme and activate.
- You may experience problems with front-end authentication to the university. To combat this, create a new JWT token here. Go into Settings > Users > Compsoc Profile and update the private secret and set redirect url to
https://weblogin.lancs.ac.uk/jwt/<name>. - You may not be able to register new user accounts as Mattermost is not installed.
- Mattermost's
platformbinary anddataandlogdirectory need to have thewww-datagroup assigned to it.