Skip to content

mnapoli/externals

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
var
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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):

$ 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