Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.06 KB

development.md

File metadata and controls

46 lines (30 loc) · 1.06 KB

Setup the development environment

The development environment is managed with Docker, so make sure to install Docker.

You’ll also need an account on Stripe.

First, download flus.fr with Git:

$ git clone https://github.com/flusio/flus.fr.git
$ cd flus.fr

Then, install the dependencies:

$ make install

Copy the env.sample file:

$ cp env.sample .env

And adapt the .env file to your needs.

Initialize the database with:

$ make db-setup

Then, start the services:

$ make docker-start

This command calls docker compose with the file under the docker/development/ folder. The first time you call it, it will download the Docker images and build the php one with the information from the docker/Dockerfile file.

Now, you should be able to access flus.fr at localhost:8000.

Mailpit is configured to catch all the outgoing emails. You can access its interface at localhost:8025.