https://github.com/gundamew/sisyphus
https://github.com/gundamew/sisyphus
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gundamew/sisyphus
- Owner: gundamew
- Created: 2021-06-21T07:56:10.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-16T02:55:48.000Z (about 3 years ago)
- Last Synced: 2025-01-21T14:46:38.794Z (5 months ago)
- Language: PHP
- Size: 244 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sisyphus
> “The workman of today works every day in his life at the same tasks, and this fate is no less absurd. But it is tragic only at the rare moments when it becomes conscious.”
>
> Albert Camus, *The Myth of Sisyphus*## Instruction
### 1. Build the app image
```shell
$ docker-compose build app
```### 2. Run the environment in background mode
```shell
$ docker-compose up -d
```### 3. Install the application dependencies
```shell
$ docker-compose exec app composer install
```### 4. Setting up the environment configuration file
```shell
$ cp .env.example .env
```Please use the settings below:
```
APP_NAME=Sisyphus
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost:8080LOG_CHANNEL=daily
LOG_LEVEL=debugDB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secretCACHE_DRIVER=redis
REDIS_CLIENT=phpredisREDIS_HOST=redis
REDIS_PASSWORD=null
REDIS_PORT=6379
```### 5. Generate a unique application key
```shell
$ docker-compose exec app php artisan key:generate
```### 6. Running migrations
```shell
$ docker-compose exec app php artisan migrate
```### 7. Use `http://localhost:8080` to access the application.