PabloKowalczyk / externals

Opening PHP's #internals to the outside

Home Page:https://externals.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Externals.io

Setup

Requirements (TODO: Vagrant box):

  • PHP 7.3 or above
  • NPM
  • Gulp (install with npm install gulp-cli -g)
  • MySQL database
  • Algolia account (TODO: make it optional in dev environment)

Copy the .env.dist file to .env and configure it.

Install the application (will create the database and the tables):

$ make install

Run the preview:

$ make preview

# Browse to http://localhost:8000

To recompile the assets if you change them, run make assets. Assets are automatically compiled when the website is deployed.

Setup via docker

  • clone the repository
  • run docker-compose up
  • run docker-compose run cli php /var/task/console db --force to initialize the database
  • when the containers are all up and running execute a make init in another window

About

Opening PHP's #internals to the outside

https://externals.io

License:MIT License


Languages

Language:PHP 71.4%Language:HTML 18.1%Language:CSS 7.7%Language:JavaScript 2.2%Language:Makefile 0.6%