Skip to content

Linda-Carlstad/tentahub.se-old-

Repository files navigation

Linda Carlstad

Description

TBA

Installation

- Unix

Follow the official Laravel documentation for a detailed walkthrough using any Unix system, like macOS or any distribution on Linux.

Laravel documentation

- macOS

Follow this simple guide to run a Laravel (8.x) project on your macOS based computer.

Felix Wetell's guide

- Windows

Follow this simple guide to run a Laravel (8.x) project on your Windows based computer.

Felix Wetell's guide

When steps above are done, do these steps to get going.

Fetch the project to your machine, either using the GUI or the command below.

git clone https://github.com/Linda-Carlstad/tentahub.se.git

Locate the project on your machine via the terminal and follow the steps below.

Install all composer dependencies:

composer update

Install all NPM dependencies:

npm install

Copy the example envirment file:

# macOs
cp .env.example .env

# Windows
copy .env.example .env

Generate application key.

php artisan key:generate

Create a database in MySQL on your computer.

Edit the .env file with your database credidentials. Here is an example:

DB_PORT=3306
DB_DATABASE=tentahub
DB_USERNAME=root
DB_PASSWORD=root

Create and seed database:

php artisan migrate:refresh --seed

Run this to generate CSS and JS files:

(Does not work properly at the moment)

npm run dev

Run the local development server:

php artisan serve

Usage

TBA

Contributing

- Issues

  • Screenshot the problem
  • Open a new issue
  • Give it a meaningful title
  • Describe the issue clearly
  • Upload the screenshot
  • Add useful labels
  • Submit issue

- Coding

  • See the issue list
  • Assign yourself to an issue
  • Open a new branch
  • Create your beautiful code
  • Create a pull request

Software

Recommended apps to get going fast:

  • Atom/Sublime/PHPStorm
  • MAMP
  • Sequal Pro
  • Google Chrome/Mozilla FireFox
  • Sketch (design tool)

Credits

Special thanks to Linda Carlstad It-committee 2019/2020 for creating this website.