Code Monkey home page Code Monkey logo

stefanb.ro's Introduction

How to use this project

  1. Create a new project on your computer. This works with php7.4, not php8.0.
composer create-project eaudeweb/recommended-project:9.x-dev [project-name]
  1. When asked "Do you want to remove the existing VCS (.git, .svn..) history? [Y,n]?" choose Y

  2. Create the example.salt.txt file with an example hash salt:

drush php-eval 'echo \Drupal\Component\Utility\Crypt::randomBytesBase64(55)' > example.salt.txt
  1. Run ./vendor/bin/robo site:config and customize example.robo.yml

Below you will find the default README template, please update the README file after creating the project.

PROJECT NAME

Short project description.

https://www.project.org

I. Prerequisites

II. Project setup

  • Clone the repository
  • Create a new database
  • Create a new virtual host pointing to the web folder of this project
  • Update your /etc/hosts file accordingly
  • Run composer install
  • Copy web/sites/example.settings.local.php to web/sites/default/settings.local.php and customize database credentials.
  • Copy example.salt.txt to salt.txt
  • Copy example.robo.yml to robo.yml and customize username, password and admin_username
  • (optional) Copy drush/sites/example.self.site.yml to drush/sites/self.site.yml add configure the ssh user.

Note: Please set the transaction isolation level in the database settings array of settings.local.php.

$databases['default']['default'] = [
    'init_commands' => ['isolation' => "SET SESSION tx_isolation='READ-COMMITTED'"],
    ...
];

III. Installation

  • Run ./install.sh

IV. Development

Please make sure you are familiar with:

V. Updating Drupal Core

composer update "drupal/core-*" --with-all-dependencies

stefanb.ro's People

Contributors

stefanbutura avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.