项目作者: mnapoli

项目描述 :
Opening PHP's #internals to the outside
高级语言: PHP
项目地址: git://github.com/mnapoli/externals.git
创建时间: 2016-06-14T19:55:53Z
项目社区:https://github.com/mnapoli/externals

开源协议:MIT License

下载


Externals.io

Setup

Requirements:

  • PHP 8.0
  • NPM
  • 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):

  1. $ make install

Run the preview:

  1. $ make preview
  2. # 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

Note: this is obsolete and will likely not work.

  • 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