Skip to content

devilica/articles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local development (Laravel Sail)

Articles are loaded from resources/data/articles.json — no database required.

git clone https://github.com/devilica/articles.git
cd articles
composer install
cp .env.example .env
./vendor/bin/sail up -d
./vendor/bin/sail artisan key:generate

App URL: http://localhost:8080
Articles: http://localhost:8080/articles

Optional (only when changing Vue/Sass sources):
npm install
npm run dev

Deploy to Render

This project includes a render.yaml Blueprint with a Docker web service only (no database).

1. Push this repo to GitHub.
2. In Render: New → Blueprint → connect the repo.
3. Set required secrets when prompted:
  - APP_KEY: run php artisan key:generate --show locally and paste the value
  - APP_URL: your Render service URL, e.g. https://articles-web.onrender.com
4. Leave Docker Command and Pre-Deploy Command empty.
5. After deploy, open /articles to verify the app.

Production defaults (from render.yaml):
- Articles served from committed JSON data
- SESSION_DRIVER=cookie for locale switching
- LOG_CHANNEL=stderr

Deploy to Vercel

This project includes a vercel.json config using the community vercel-php runtime (no database required).

1. Push this repo to GitHub.
2. Import the project at vercel.com and connect the repo.
3. Framework Preset: Other. Leave Build/Install/Output commands empty.
4. In Settings → Environment Variables, set:
  - APP_KEY: run php artisan key:generate --show locally and paste the value
  - APP_URL: your Vercel URL, e.g. https://your-project.vercel.app
5. Deploy and open /articles to verify.

Optional CLI deploy: npm i -g vercel then vercel from the project root.

Production defaults (from vercel.json):
- Articles served from committed JSON data in resources/data/articles.json
- CACHE_DRIVER=array and SESSION_DRIVER=cookie for serverless
- Static assets served from public/css, public/js, and public/vendor/livewire

PROJECT PREVIEW
In this section, you’ll find screenshots showcasing the application interface.

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors