The official website for the student association Linda Carlstad in Sweden, Karlstad. The association is under and with support from Karlstad University. Linda Carlstad is a association for students studying computer science, web development and software system design.
Follow the official Laravel documentation for a detailed walkthrough using any Unix system, like macOS or any distribution on Linux.
Follow this simple guide to run a Laravel (8.x) project on your macOS based computer.
Follow this simple guide to run a Laravel (8.x) project on your Windows based computer.
Fetch the project to your machine, either using the GUI or the command below.
git clone https://github.com/Linda-Carlstad/lindacarlstad.se.git
Locate the project on your machine via the terminal and follow the steps below.
Install all composer dependencies:
composer install
Install all NPM dependencies:
npm install
Copy and generate application key:
cp .env.example .env
php artisan key:generate
If running Windows:
copy .env.example .env
php artisan key:generate
Linda Carlstad website uses the same database as the Linda Carlstad Admin Panel, see how to set up the datbase in that project before continuing with this one. The name of the database is therefore dependent of what you have named the datbase in the Linda Carlstad Admin Panel prject. Credidentals should match that one to be used in this project See example below.
Edit the .env
file with your database credidentials.
Here is an example:
DB_PORT=3306
DB_DATABASE=adminpanel
DB_USERNAME=root
DB_PASSWORD=root
Before migrating, download the admin panel (custom CMS) Linda Carlstad Admin Panel to get the correct database migrations.
Once done, continue with the setup. Create and seed database (admin panel):
php artisan migrate:refresh --seed
Run this to generate CSS and JS files:
npm run dev
If Laravel Mix is version 6.X, run this:
npx mix
Run the local development server:
php artisan serve
The website uses the information filled in using the custom-build CMS system, Admin Linda Carlstad.
Hidden songs gate
Can also be found here - Contributing to Linda Carlstad
- Screenshot the problem
- Open a new issue
- Give it a meaningful title
- Describe the issue clearly
- Upload the screenshot
- Add useful labels
- Submit issue
- See the issue list
- Assign yourself to an issue
- Open a new branch
- Create your beautiful code
- Create a pull request
Recommended apps to get going fast:
- Atom/Sublime/PHPStorm
- MAMP
- Sequal Pro
- Google Chrome/Mozilla FireFox
- Sketch (design tool)
Special thanks to Linda Carlstad It-committee 2018/2019 for creating this website.