Code Monkey home page Code Monkey logo

docker's Introduction

Pixel Humain

Requierement

Php version : 5.4.X (minimum) MongoDB : 2.6.X (tested version - minimum) Mongo Driver : 1.4.5 (tested version - minimum)

##Installation ####Configure your php Verify your php configuration is right done lauching the command line

php --ini

The php.ini specified in the "Loaded Configuration File" option should be the right one. Check in this php.ini file the openssl extension is activated.

####must install a Php webserver Choose your favorite webserver (apache) or package (easyPhp, Wamp...) Edit the httpd.conf file and activate the line

LoadModule rewrite_module modules/mod_rewrite.so

On Unix like OS : Linux Ubuntu, Debian :

Otherwise

On Windows OS :

if (X<5)
 php_mongo-1.4.5-5.X-vc9.dll
else
 php_mongo-1.4.5-5.X-vc11.dll
  • Important : if you'are running with a 64bits platform choose the file with 'x86_64' in it.
  • Copy the dll file in your directory : %php_dir%/ext
  • In the php.ini add (the name of the dll file depends on your php install version) :
for php 5.5
extension=php_mongo-1.4.5-5.5-vc11.dll
or
for php 5.3
extension=php_mongo-1.4.1-5.3-vc9.dll

On Mac

If you are on mac OSX, read this readme first : Specific readme_macOS.md for Mac OSX

####install a mongo Database instance and admin tool

mongod --dbpath data/db
  • inside your favorite mongo administration tool :
  • create a database called pixelhumain
  • create a user for the db : pixelhumain
  • you can do this the simple mongo
  • use pixelhumain
  • db.addUser( "pixelhumain","pixelhumain" )

####Composer installation PixelHumain is set with composer in order to manage dependencies and libraries.

  • Clone the repository in order to recover the files
  • If you don't have it get the composer (https://getcomposer.org/)
  • Create the file /ph/protected/config/dbconfig.php with your database name and URL.
$dbconfig = array(
    'class' => 'mongoYii.EMongoClient',
    'server' => 'mongodb://127.0.0.1:27017/',
    'db' => 'pixelhumain',
);

You can find an example of dbconfig in the file /ph/protected/config/dbconfig.example.php

  • Launch following commands to initiate the application : in cd path/to/pixelhumain/ph where you'll find composer.json
composer update
...
composer install

####Add the module citizenToolKit

To launch the application, you need to install the module citizenToolKit. See below to see how to install modules.

####Launch the application

  • Launch you http webserver

  • depending on how you webservers alias is configured here the alias is called ''ph'' and pointing to the folder you cloned test this url : http://localhost:8080/ph/index.php/test

  • All the first line should be green.

right now you can access the application like 127.0.0.1/ph/index.php/anyModule to remove the index.php you'll need to configure your http.conf like this

Alias "/ph" "pathToProjectFolder/pixelhumain/ph"
<Directory "pathToProjectFolder/pixelhumain/ph">
Options FollowSymLinks Indexes
AllowOverride none
Order deny,allow
Allow from 127.0.0.1
deny from all
<IfModule mod_rewrite.c>
Options +FollowSymLinks
IndexIgnore */*
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|assets|robots\.txt)
RewriteRule ^(.*)$ /ph/index.php/$1 [L]
</IfModule>
</Directory>

####Adding a Module

  • at the same level of the /pixelhumain folder , create a folder called /modules
/pixelhumain
 /ph
 /doc ...
/modules

Init Data Base

Change to the folder modules/communecter/data is run the following commands:

  • mongoimport --db pixelhumain --collection cities cities.json --jsonArray;
  • mongoimport --db pixelhumain --collection lists lists.json --jsonArray ;

YOU SUCCEED ! READY TO CODE NOW !

####Understanding the structure and Yii Now you can follow urls to understand and dive into the code, which is a fairly standard and simple MVC ex : 127.0.0.1/ph/communecter/person/profile

  • "communecter" is the module
  • "person" is the controller file called PersonController.php
  • "profile" is the action foun called actionProfile found in the above controller file

Valuing States Structure

  • page region : List all Counties with minimal descritption
  • city page : List local actors(directory), local Places
  • people page :

##Roadmap short term

  • add a person/citizen
  • add and Association, Company
  • add a State entity (city, county...)

##Document before coding Make a good habit of writing a doc or a doc corrected before embarking in the code. This avoids a tedious task of writing a doc after hit.

##More info






Help keep this project alive

contribute or Join the NGO on Hello Asso

##Version 0.002 L'homme qui déplace une montagne commence par déplacer les petites pierres.- Confucius Man who wants to move a mountain starts by moving pebbles

docker's People

Contributors

aboire avatar magicking avatar oceatoon avatar sylvainbarbot avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker's Issues

Error docker

emma@emma-X555LB:~/dev/pixelhumain-docker$ docker-compose -f docker-compose.yml up
ERROR: In file './docker-compose.yml' service 'version' doesn't have any configuration options. All top level keys in your docker-compose.yml must map to a dictionary of configuration options.

Could not resolve host: github.com

Au cour de la procedure d'installation lorsque j'arrive a l'etape docker-compose j'ai un probleme de resolution de DNS:

# docker-compose -f docker-compose.yml -f docker-compose.install.yml run ph cotools --install
Starting pixelhumaindocker_mongo_1 ... 
Starting pixelhumaindocker_mongo_1 ... done
Starting pixelhumaindocker_front_1 ... 
Starting pixelhumaindocker_front_1 ... done

............................................................
..................====..............::::....................
..................====..............::::....................
............................................................
..................................................====......
..................+?................~+...........=======....
...............=========+?.........?::::::~I.........===....
..............=====+========...::::::::::::::.......===.....
.............====.......?===..:::+........+:::....===.......
.............====........===7.............::::..===+====....
.............====.............I=::........::::..========....
.............====.............:::~........::::..............
.............====.........................::::..............
.............====.............?~::........::::..............
.............====.......++7...::::..........................
.............==========....I...:::::::::..I=:...............
.................?=========.....::::::::::::?...............
................==+======........7::::::=I..................
............................................................


............................................................
..................====..............::::....................
..................====..............::::....................
............................................................
..................................................====......
..................+?................~+...........=======....
...............=========+?.........?::::::~I.........===....
..............=====+========...::::::::::::::.......===.....
.............====.......?===..:::+........+:::....===.......
.............====........===7.............::::..===+====....
.............====.............I=::........::::..========....
.............====.............:::~........::::..............
.............====.........................::::..............
.............====.............?~::........::::..............
.............====.......++7...::::..........................
.............==========....I...:::::::::..I=:...............
.................?=========.....::::::::::::?...............
................==+======........7::::::=I..................
............................................................

Déja cloner
Installing communecter
Cloning into '/code/modules/communecter'...
fatal: unable to access 'https://github.com/pixelhumain/communecter.git/': Could not resolve host: github.com

mon fichier de Config Docker :

# cat /etc/default/docker
# Docker Upstart and SysVinit configuration file

#
# THIS FILE DOES NOT APPLY TO SYSTEMD
#
#   Please see the documentation for "systemd drop-ins":
#   https://docs.docker.com/engine/admin/systemd/
#

# Customize location of Docker binary (especially for development testing).
#DOCKERD="/usr/local/bin/dockerd"

# Use DOCKER_OPTS to modify the daemon startup options.
DOCKER_OPTS=" --iptables=false --dns 8.8.8.8 --dns 8.8.4.4"

# If you need Docker to use an HTTP proxy, it can also be specified here.
#export http_proxy="http://127.0.0.1:3128/"

# This is also a handy place to tweak where Docker's temporary files go.
#export DOCKER_TMPDIR="/mnt/bigdrive/docker-tmp"

qu'est-ce que je pourais regarder ?

Aussi, de ce que je comprend il install comunecter V1 mais pas co2 ?

Erreur composer: missing PHP ext-curl

Lors de l'instalation l'erreur composer suivante apparais :

  Problem 1
    - nategood/httpful dev-test-server requires ext-curl * -> the requested PHP extension curl is missing from your system.

Dans le navigateur, sur le port 5080 ca dit:

( ! ) Warning: require_once(/code/pixelhumain/ph/vendor/yiisoft/yii/framework/yii.php): failed to open stream: No such file or directory in /code/pixelhumain/ph/index.php on line 22

Full logs of the install process:

root@vps135791:/home/co2# git clone https://github.com/pixelhumain/docker pixelhumain-docker
Cloning into 'pixelhumain-docker'...
remote: Counting objects: 179, done.
remote: Total 179 (delta 0), reused 0 (delta 0), pack-reused 179
Receiving objects: 100% (179/179), 29.52 KiB | 0 bytes/s, done.
Resolving deltas: 100% (90/90), done.
Checking connectivity... done.
root@vps135791:/home/co2# ls
pixelhumain-docker
root@vps135791:/home/co2# cd pixelhumain-docker/
root@vps135791:/home/co2/pixelhumain-docker# ls
docker-compose.install-no-build.yml  docker-compose.install.yml  docker-compose-no-build.yml  docker-compose.yml  docker-front	docker-install	README.md  TODO
root@vps135791:/home/co2/pixelhumain-docker#  docker-compose -f docker-compose.yml -f docker-compose.install.yml run ph cotools --install
Starting pixelhumaindocker_mongo_1 ... done
Starting pixelhumaindocker_front_1 ... done

............................................................
..................====..............::::....................
..................====..............::::....................
............................................................
..................................................====......
..................+?................~+...........=======....
...............=========+?.........?::::::~I.........===....
..............=====+========...::::::::::::::.......===.....
.............====.......?===..:::+........+:::....===.......
.............====........===7.............::::..===+====....
.............====.............I=::........::::..========....
.............====.............:::~........::::..............
.............====.........................::::..............
.............====.............?~::........::::..............
.............====.......++7...::::..........................
.............==========....I...:::::::::..I=:...............
.................?=========.....::::::::::::?...............
................==+======........7::::::=I..................
............................................................


............................................................
..................====..............::::....................
..................====..............::::....................
............................................................
..................................................====......
..................+?................~+...........=======....
...............=========+?.........?::::::~I.........===....
..............=====+========...::::::::::::::.......===.....
.............====.......?===..:::+........+:::....===.......
.............====........===7.............::::..===+====....
.............====.............I=::........::::..========....
.............====.............:::~........::::..............
.............====.........................::::..............
.............====.............?~::........::::..............
.............====.......++7...::::..........................
.............==========....I...:::::::::..I=:...............
.................?=========.....::::::::::::?...............
................==+======........7::::::=I..................
............................................................

Cloning into '/code/pixelhumain'...
remote: Counting objects: 59030, done.
remote: Compressing objects: 100% (142/142), done.
remote: Total 59030 (delta 83), reused 92 (delta 21), pack-reused 58860
Receiving objects: 100% (59030/59030), 195.78 MiB | 11.74 MiB/s, done.
Resolving deltas: 100% (32142/32142), done.
Checking connectivity... done.
Checking out files: 100% (21927/21927), done.
mkdir: created directory '/code/modules'
mkdir: created directory '/code/pixelhumain/ph/upload'
Installing communecter
Cloning into '/code/modules/communecter'...
remote: Counting objects: 47713, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 47713 (delta 6), reused 13 (delta 4), pack-reused 47688
Receiving objects: 100% (47713/47713), 98.93 MiB | 11.74 MiB/s, done.
Resolving deltas: 100% (36599/36599), done.
Checking connectivity... done.
Installing citizenToolKit
Cloning into '/code/modules/citizenToolKit'...
remote: Counting objects: 21063, done.
remote: Compressing objects: 100% (226/226), done.
remote: Total 21063 (delta 179), reused 177 (delta 69), pack-reused 20768
Receiving objects: 100% (21063/21063), 4.49 MiB | 0 bytes/s, done.
Resolving deltas: 100% (16252/16252), done.
Checking connectivity... done.
Installing co2
Cloning into '/code/modules/co2'...
remote: Counting objects: 18609, done.
remote: Compressing objects: 100% (181/181), done.
remote: Total 18609 (delta 123), reused 83 (delta 19), pack-reused 18409
Receiving objects: 100% (18609/18609), 275.14 MiB | 11.76 MiB/s, done.
Resolving deltas: 100% (12847/12847), done.
Checking connectivity... done.
Installing network
Cloning into '/code/modules/network'...
remote: Counting objects: 2107, done.
remote: Total 2107 (delta 0), reused 0 (delta 0), pack-reused 2107
Receiving objects: 100% (2107/2107), 56.79 MiB | 11.74 MiB/s, done.
Resolving deltas: 100% (871/871), done.
Checking connectivity... done.
Installing api
Cloning into '/code/modules/api'...
remote: Counting objects: 971, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 971 (delta 0), reused 4 (delta 0), pack-reused 965
Receiving objects: 100% (971/971), 58.65 MiB | 11.74 MiB/s, done.
Resolving deltas: 100% (138/138), done.
Checking connectivity... done.
Setting up credentials
MongoDB shell version: 3.2.17
connecting to: mongo/pixelhumain
2017-12-15T15:05:14.072+0000 E QUERY    [thread1] Error: couldn't add user: User "pixelhumain@pixelhumain" already exists :
_getErrorWithCode@src/mongo/shell/utils.js:25:13
DB.prototype.createUser@src/mongo/shell/db.js:1267:15
@(shell):1:1

bye
MongoDB shell version: 3.2.17
connecting to: mongo/pixelhumaintest
2017-12-15T15:05:14.151+0000 E QUERY    [thread1] Error: couldn't add user: User "pixelhumain@pixelhumaintest" already exists :
_getErrorWithCode@src/mongo/shell/utils.js:25:13
DB.prototype.createUser@src/mongo/shell/db.js:1267:15
@(shell):1:1

bye
Installing composer
Setting up with Composer
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Warning: Accessing packages.phundament.com over http which is an insecure protocol.
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - nategood/httpful dev-test-server requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful dev-r0.3.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful dev-php7 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful dev-master requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful dev-dev requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.9 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.8 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.7 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.6 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.5 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.3 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.20 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.19 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.17 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.16 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.13 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.11 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.10 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.1.7 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.1.6 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.1.5 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.1.4 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.1.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.1.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - Installation request for nategood/httpful * -> satisfiable by nategood/httpful[0.1.0, 0.1.2, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.2.0, 0.2.1, 0.2.10, 0.2.11, 0.2.13, 0.2.16, 0.2.17, 0.2.19, 0.2.2, 0.2.20, 0.2.3, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9, dev-dev, dev-master, dev-php7, dev-r0.3.0, dev-test-server].

  To enable extensions, verify that they are enabled in your .ini files:
    - /etc/php5/cli/php.ini
    - /etc/php5/cli/conf.d/05-opcache.ini
    - /etc/php5/cli/conf.d/10-pdo.ini
    - /etc/php5/cli/conf.d/20-json.ini
    - /etc/php5/cli/conf.d/20-readline.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Warning: Accessing packages.phundament.com over http which is an insecure protocol.
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - nategood/httpful dev-test-server requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful dev-r0.3.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful dev-php7 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful dev-master requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful dev-dev requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.9 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.8 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.7 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.6 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.5 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.3 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.20 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.19 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.17 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.16 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.13 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.11 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.10 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.1.7 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.1.6 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.1.5 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.1.4 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.1.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.1.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - Installation request for nategood/httpful * -> satisfiable by nategood/httpful[0.1.0, 0.1.2, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.2.0, 0.2.1, 0.2.10, 0.2.11, 0.2.13, 0.2.16, 0.2.17, 0.2.19, 0.2.2, 0.2.20, 0.2.3, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9, dev-dev, dev-master, dev-php7, dev-r0.3.0, dev-test-server].

  To enable extensions, verify that they are enabled in your .ini files:
    - /etc/php5/cli/php.ini
    - /etc/php5/cli/conf.d/05-opcache.ini
    - /etc/php5/cli/conf.d/10-pdo.ini
    - /etc/php5/cli/conf.d/20-json.ini
    - /etc/php5/cli/conf.d/20-readline.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Import data
Import lists data...
MongoDB shell version: 3.2.17
connecting to: mongo/pixelhumain
2017-12-15T15:05:48.877+0000 I NETWORK  [thread1] getaddrinfo("mongo") failed: Name or service not known
2017-12-15T15:05:49.557+0000 E QUERY    [thread1] Error: couldn't initialize connection to host mongo, address is invalid :
connect@src/mongo/shell/mongo.js:231:14
@(connect):1:6

exception: connect failed
2017-12-15T15:05:52.580+0000	[........................] pixelhumain.lists	0B/21.4KB (0.0%)
2017-12-15T15:05:53.267+0000	[........................] pixelhumain.lists	0B/21.4KB (0.0%)
2017-12-15T15:05:53.268+0000	Failed: error connecting to db server: no reachable servers
2017-12-15T15:05:53.268+0000	imported 0 documents
Archive:  /code/modules/co2/data/cities.json.zip
  inflating: /code/modules/co2/data/cities.json  
MongoDB shell version: 3.2.17
connecting to: mongo/pixelhumain
2017-12-15T15:05:53.973+0000 I NETWORK  [thread1] getaddrinfo("mongo") failed: Name or service not known
2017-12-15T15:05:53.974+0000 E QUERY    [thread1] Error: couldn't initialize connection to host mongo, address is invalid :
connect@src/mongo/shell/mongo.js:231:14
@(connect):1:6

exception: connect failed
Import cities data...
2017-12-15T15:05:56.987+0000	[........................] pixelhumain.cities	0B/63.3MB (0.0%)
2017-12-15T15:05:57.671+0000	[........................] pixelhumain.cities	0B/63.3MB (0.0%)
2017-12-15T15:05:57.671+0000	Failed: error connecting to db server: no reachable servers
2017-12-15T15:05:57.671+0000	imported 0 documents
Create index mongo...
MongoDB shell version: 3.2.17
connecting to: mongo/pixelhumain
2017-12-15T15:05:57.770+0000 I NETWORK  [thread1] getaddrinfo("mongo") failed: Name or service not known
2017-12-15T15:05:57.771+0000 E QUERY    [thread1] Error: couldn't initialize connection to host mongo, address is invalid :
connect@src/mongo/shell/mongo.js:231:14
@(connect):1:6

exception: connect failed
MongoDB shell version: 3.2.17
connecting to: mongo/pixelhumain
2017-12-15T15:05:57.868+0000 I NETWORK  [thread1] getaddrinfo("mongo") failed: Name or service not known
2017-12-15T15:05:57.869+0000 E QUERY    [thread1] Error: couldn't initialize connection to host mongo, address is invalid :
connect@src/mongo/shell/mongo.js:231:14
@(connect):1:6

exception: connect failed
Communecte est maintenant disponible depuis http://localhost:5080
pour valider un user sans regler l'envoie d'email vous pouvez le valider avec : docker-compose -f docker-compose.yml -f docker-compose.install.yml run ph cotools [email protected] 
vous pouvez ajouter le cron pour les email avec : docker-compose -f docker-compose.yml -f docker-compose.install.yml run ph cotools --add-cron 
pour pouvoir editer le code sur votre machine ou serveur :
sudo chown -R ${USER:=$(/usr/bin/id -run)}:$USER code/pixelhumain/
sudo chown -R ${USER:=$(/usr/bin/id -run)}:$USER code/modules/
sudo chown -R ${USER:=$(/usr/bin/id -run)}:$USER code/log/
les logs nginx ce trouve dans code/log

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.