Skip to content

unicorn-utterances/codecorn-courses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codecorn-courses

A mythical creature that is half-unicorn and half-codec.

# Docker setup

docker compose up -d

or full rebuild.

docker compose up -d --force-recreate --build

Install the required dependencies in the docker container

docker exec -it codecorn-website cp .env.example .env
docker exec -it codecorn-website composer install
docker exec -it codecorn-website npm install

To run an interactive terminal run

docker exec -it codecorn-website bash
The proxy server requires a cert.pem and key.pem file in the ./proxy/certificates folder but is disabled by default and not required.

# Windows/Linux setup

Requires php with openssl enabled.

Install the required dependencies on your machine

cp .env.example .env
composer install --ignore-platform-reqs
npm install

Setup a test mail server for the 2fa and email verification steps

Follow the instructions in the laravel docs for a test mail server.
Or fill in the MAIL_* variables in the .env file for a real mail server.

Start the dev server

npm run dev

or

php artisan serve

The vite HMR server is running on port 8766

Open http://localhost:8765

About

A mythical creature that is half-unicorn and half-codec

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published