The first open source CMS based on elasticsearch-php api.
Start the Docker container:
docker run -p haklop/elasticms
Retrieve the expose port: docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8d3351afc1e4 haklop/elasticms:latest /root/scripts/run.sh 9 seconds ago Up 8 seconds 0.0.0.0:49153->80/tcp sleepy_tesla
On this exemple, go to http://localhost:49153
Take the project with git just running the following command :
git clone [email protected]:NotBoire/elasticms.git
Start the Docker container with -v argument and replace {project_directory} by your project root directory. The project directory will be shared with the Docker container.
docker run -v {project_directory}:/usr/local/nginx/html -P haklop/elasticms
Retrieve the expose port: docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8d3351afc1e4 haklop/elasticms:latest /root/scripts/run.sh 9 seconds ago Up 8 seconds 0.0.0.0:49153->80/tcp sleepy_tesla
On this exemple, go to http://localhost:49153
Install Vagrant 1.3.6+
Take the project with git just running the following command :
git clone [email protected]:NotBoire/elasticms.git
Start the Vagrant box
vagrant up
Take the project with git just running the following command :
git clone [email protected]:NotBoire/elasticms.git
If you don't have Composer yet, download it :
curl -s http://getcomposer.org/installer | php
You just need to install all the necessary dependencies now with composer freshly installed :
php composer.phar install
Just run the little requirement for running elasticms
php app/check/check.php
If no error message are shown, let's get started.
Replace {project_directory} by your project directory.
server {
server_name www.elastic.dev;
return 301 http://elastic.dev$request_uri;
}
server {
server_name elastic.dev;
root {project_directory}/www;
location / {
try_files $uri @rewrite;
}
location @rewrite {
rewrite ^(.*)$ /index.php/$1 last;
}
location ~ ^/(index)\.php(/|$) {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTPS off;
}
error_log /var/log/nginx/elastic_error.log;
access_log /var/log/nginx/elastic_access.log;
}
// Coming soon
Content type
Image
Digest
sha256:159c0d200…
Size
234.9 MB
Last updated
about 11 years ago
docker pull haklop/elasticms