Skip to content
This repository was archived by the owner on Mar 14, 2022. It is now read-only.
/ generative-api-art Public archive

Une représentation visuelle du JSON renvoyé par l'api RMN-GP pour une requête sur une œuvre aléatoire, comparée avec l'oeuvre originale. Réalisé dans le cadre du Hackaton api dot art

Notifications You must be signed in to change notification settings

tchapi/generative-api-art

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generative API Art

Installation

Copy config.hh.dist to config.hh and change your API key.

Example nginx configuration

server {

    server_name example.com;

    index index.html index.php index.hh;
    root /www/generativeapiart/;

    error_log /var/log/nginx/generativeapiart.error.log;

    # Searching aliases
    rewrite ^/(.*) /index.hh?q=$1 last;

    location = / {
          try_files $uri $uri/ /index.hh?$query_string;
    }

    # Pass on to HHVM
    include hhvm.conf;

    # Favicons and robots
    include favicon.robots.conf;

    # deny access to .htaccess files
    location ~ /\.ht {
      deny all;
    }
}

About

Une représentation visuelle du JSON renvoyé par l'api RMN-GP pour une requête sur une œuvre aléatoire, comparée avec l'oeuvre originale. Réalisé dans le cadre du Hackaton api dot art

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published