MYSQL
# give access to user
GRANT ALL PRIVILEGES ON website_com.* To 'user_website_com'@'localhost' IDENTIFIED BY 'XXXXXXXX';
CREATE USER 'user_website_com'@'localhost' IDENTIFIED BY 'XXXXXXXX';
mysql -u username -p database_name < file.sql
# give access to user
GRANT ALL PRIVILEGES ON website_com.* To 'user_website_com'@'localhost' IDENTIFIED BY 'XXXXXXXX';
CREATE USER 'user_website_com'@'localhost' IDENTIFIED BY 'XXXXXXXX';
mysql -u username -p database_name < file.sql
git clone git://github.com/fd57d8aa59b1574ee7728edf128814d3.git docker-drupal-fpm
cd docker-drupal-fpm
mkdir -p /usr/local/share/dockervolumes/drupal # if you change this folder please update the run.sh
chmod +x run.sh && ./run.sh up
# create user
CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
# grant all privileges
GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost';
# flush privileges
FLUSH PRIVILEGES;
GRANT type_of_permission ON database_name.table_name TO ‘username’@'localhost’;
REVOKE type_of_permission ON database_name.table_name FROM ‘username’@‘localhost’;
[root@samayo sites]# docker logs some-prestashop | |
* Reapplying PrestaShop files for enabled volumes ... | |
* No pre-install script found, let's continue... | |
* No post-install script found, let's continue... | |
* Almost ! Starting web server now |
# --------------------------------------- | |
# Main Module | |
# --------------------------------------- | |
user nginx; | |
# This number should be, at maximum, the number of CPU cores on your system. | |
worker_processes 2; | |
pid /var/run/nginx.pid; | |
# Only log critical errors |
version: '3' | |
services: | |
db: | |
container_name: mariadb | |
build: | |
context: ./mariadb | |
volumes: | |
- ./mariadb/scripts:/docker-entrypoint-initdb.d | |
- ./.data/db:/var/lib/mysql |
<template> | |
<div class='vue-aws-uploader' :class='wrapperCss'> | |
<label for="vue-aws-upload" class='fa fa-upload'> Click here to upload your <b>{{ folder }}</b> files </label> | |
<input type="file" name="file" id="vue-aws-upload" class="vue-aws-upload" @change='init($event)' /> | |
</div> | |
</template> | |
<script> | |
import axios from 'axios' |
server { | |
listen 80; | |
server_name example.com dev.example.com; | |
root /var/www/sites/public/dev.example/; | |
index index.html index.htm index.php; | |
access_log /var/log/nginx/example.com_access.log; | |
error_log /var/log/nginx/example.com_error.log; | |
charset utf-8; |
<?php | |
### USAGE | |
#Require the autoload in your bootstrap, and use the Application to start your app | |
require __DIR__ . '/../Autoload.php'; | |
$app = new Fastpress\Application; | |
$app->get('/hello/{:name}', function($name) use ($app){ |
I hereby claim:
To claim this, I am signing this object: