FabienPapet / presta-deploy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

presta-deploy is a dev deployment environment for Prestashop project

This project is used to encapsulate prestashop in a convenient environment.

Thanks to it, it should be easy to deploy a dev, demo, test, ... environment and to use it.

Thereby, presta-deploy manages environment, setup and dependencies questions for Prestashop purpose.

Requirements

In order to use this project on your environment, you need

Deployment

Local install

  1. For first install, pre-configure your environment
    1. cp infra/env/deploy.env.template infra/env/deploy.env
    2. Edit deploy.env values.
    3. make env-init
    4. Edit all required infra/env/data/${DEPLOY_ENV}/*.env values and customize what you want.
  2. Then initialize your environment : infra-init

☝️ Connect to your install (take PROXY_BASE_HOSTNAME from PROXY_BASE_HOSTNAME_LIST):

  • auto-setup : https://{PROXY_BASE_HOSTNAME}/install-dev/index.php
  • front-office : https://{PROXY_BASE_HOSTNAME}/index.php
  • back-office : https://{PROXY_BASE_HOSTNAME}/admin-dev/index.php

☝️ Take a look to Makefile commands. Usefull to understand Prestashop install/deployment.

☝️ Please notice that presta-deploy uses git submodules.

☝️ If you configured custom host with PROXY_BASE_HOSTNAME_LIST, you may want to edit your hosts file.

☝️ By default, a SMTP server is configured on your local machine. You can access it over http://localhost:8080/#/ link.

Docker usage

TODO

  • build / login / deploy
  • environment variables
  • Docker registry

Development

Contributing

If you want to use this project for Prestashop organization projects contribution, please start reading official guidelines :

Once you are aware about Prestashop expectations, you may want to adapt your git configuration to push your local modifications to your own forks. Please take a look at Development setup

Usefull documentation

☝️ Please notice that you can find some internal documentation under doc/ directory of this repository.

Dev and stack documentation

Todo

About

License:MIT License


Languages

Language:Makefile 95.9%Language:Shell 4.1%