Dorin Paslaru пре 7 година
родитељ
комит
85d99c7a96
1 измењених фајлова са 9 додато и 31 уклоњено
  1. 9 31
      README.md

+ 9 - 31
README.md

@@ -1,5 +1,11 @@
-# Coriolis UI
-
+# ![Coriolis Web](/src/components/atoms/Logo/images/coriolis-small-black.svg)
+
+##### Web  GUI for [coriolis](https://github.com/cloudbase/coriolis)  
+  
+  
+  
+   
+   
 ### Install instructions
 - [node](https://nodejs.org/en/download/package-manager/) >=6.x and [yarn](https://yarnpkg.com/lang/en/docs/install/) are required
 - clone repo
@@ -18,7 +24,7 @@ Your server will be running at http://localhost:3000/
 - unit tests can be run using `yarn test`
 - e2e integration tests can be run using `yarn cypress`. First though, you have to create the `private/cypress/config.js` file using `private/cypress/config.template.js` as a template and then run `yarn build` and `node server`.
 
-#### Development mode
+### Development mode
 - run `yarn start` to start local development server
 
 Your development server will be running at http://localhost:3000/
@@ -26,31 +32,3 @@ Your development server will be running at http://localhost:3000/
 This should be used only for development, as it contains live-reload and other development tools.
 
 You can view some of the UIs components in the [Storybook](https://github.com/storybooks/storybook) by running `yarn storybook`
-
-### Apache Configuration
-
-#### Apache modules
-- enable apache modules: `sudo a2enmod headers`, `sudo a2enmod rewrite`, `sudo a2enmod proxy`, `sudo a2enmod proxy_http`
-- restart apache service: `service apache2 restart`
-
-#### Apache CORS config
-- add this configuration to .htaccess or apache site configuration
-
-```
-Header always set Access-Control-Allow-Origin "*"
-Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT, PATCH"
-Header always set Access-Control-Max-Age "1000"
-Header always set Access-Control-Allow-Headers "x-requested-with, X-Auth-Token, X-Subject-Token, Content-Type, origin, authorization, accept, client-security-token"
-Header always set Access-Control-Allow-Credentials "true"
-Header add Access-Control-Expose-Headers "X-Subject-Token"
-# Added a rewrite to respond with a 200 SUCCESS on every OPTIONS request.
-RewriteEngine On
-RewriteCond %{REQUEST_METHOD} OPTIONS
-RewriteRule ^(.*)$ $1 [R=200,L]
-
-# Proxy matches paths to appropiate services
-ProxyPassMatch ^/identity/(.*)$ http://127.0.0.1:5000/v3/$1
-ProxyPassMatch ^/barbican/(.*)$ http://127.0.0.1:9311/$1
-ProxyPassMatch ^/coriolis/(.*)$ http://127.0.0.1:7667/v1/$1
-ProxyPassMatch ^/((?!identity|coriolis|barbican).*)$ http://127.0.0.1:3000/$1
-```