Requirements
Install locally
-
Clone or download the repository
git clone https://github.com/Roszakos/speedcube-timer.git -
Rename .env.example file to .env
-
Fill .env file with your database information
-
Open console and navigate to project root directory (
speedcube-timer) -
Run following commands:
-
Install required dependencies
composer install -
Generate application key
php artisan key:generate -
Run database migrations
php artisan migrate -
Seed the database with dummy data, it also creates a test account with verified email (optional)
php artisan db:seed
- Open another console and cd to vue directory (
speedcube-timer/vue)
-
Install node dependencies
npm install
-
Run the project
-
in the main directory (speedcube-timer-main)
php artisan serve -
in the vue directory (speedcube-timer-main/vue)
npm run dev
-
-
View the project at localhost:5173
You can log in using the test account created during database seeding:
Nickname: TestUser Password: test123