<!doctype html> | |
<html class="no-js"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Superdesk</title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<!-- build:css styles/css/bootstrap.css --> | |
<link rel="stylesheet" href="styles/css/bootstrap.css"> | |
<!-- endbuild --> | |
<!-- build:css styles/css/app.css --> | |
<link rel="stylesheet" href="styles/css/app.css"> | |
<!-- endbuild --> | |
<!-- build:css styles/css/jquery.jcrop.css --> | |
<link rel="stylesheet" href="scripts/bower_components/jcrop/css/jquery.Jcrop.css"> | |
<!-- endbuild --> | |
</head> | |
<body> | |
<div sd-superdesk-view></div> | |
<!-- build:js scripts/vendor.js --> | |
<script src="scripts/bower_components/jquery/dist/jquery.js"></script> | |
<script src="scripts/bower_components/jquery-ui/jquery-ui.js"></script> | |
<script src="scripts/bower_components/angular/angular.js"></script> | |
<script src="scripts/bower_components/gridster/dist/jquery.gridster.with-extras.js"></script> | |
<script src="scripts/bower_components/medium-editor/dist/js/medium-editor.js"></script> | |
<script src="scripts/bower_components/ment.io/dist/mentio.js"></script> | |
<script src="scripts/bower_components/requirejs/require.js"></script> | |
<!-- endbuild --> | |
<!-- build:js scripts/superdesk-core.js --> | |
<script src="scripts/superdesk/editor/editor.js"></script> | |
<script src="scripts/superdesk/features/features.js"></script> | |
<script src="scripts/superdesk/services/asset.js"></script> | |
<script src="scripts/superdesk/privileges/privileges.js"></script> | |
<script src="scripts/superdesk/menu/menu.js"></script> | |
<script src="scripts/superdesk/menu/notifications/notifications.js"></script> | |
.... etc. | |
<script> | |
var config = {"raven":{"dsn":""},"server":{"url":"http://localhost:5000","ws":"http://localhost:5100"},"analytics":{"piwik":{"url":"","id":""},"ga":{"id":""}}}; | |
var modules = [ | |
'superdesk.settings', | |
'superdesk.dashboard', | |
'superdesk.users', | |
'superdesk.planning', | |
'superdesk.archive', | |
'superdesk.ingest', | |
'superdesk.scratchpad', | |
'superdesk.desks', | |
'superdesk.groups', | |
'superdesk.authoring', | |
'superdesk.packaging', | |
'superdesk.editor', | |
'superdesk.users.import', | |
'superdesk.users.profile', | |
'superdesk.users.activity', | |
'superdesk.stream' | |
]; | |
require([ | |
'main', | |
'superdesk-settings/module', | |
'superdesk-dashboard/module', | |
'superdesk-planning/module', | |
'superdesk-archive/module', | |
'superdesk-ingest/module', | |
'superdesk-scratchpad/module', | |
'superdesk-desks/module' | |
], function(bootstrap) { | |
bootstrap(config, modules); | |
}); | |
</script> | |
<script>//<![CDATA[ | |
document.write('<script src="//' + (location.hostname || 'localhost') + ':35729/livereload.js?snipver=1"><\/script>') | |
//]]></script> | |
</body> | |
</html> | |
docker build -t superdesk-client ./
docker run -i -p 9000:9000 -t superdesk-client grunt server --server=http://localhost:5000 --ws=http://localhost:5100
Running "connect:test" (connect) task
Started connect web server on http://0.0.0.0:9000
Running "open:test" (open) task
Warning: Command failed: /opt/superdesk-client/node_modules/grunt-open/node_modules/open/vendor/xdg-open: 1: /opt/superdesk-client/node_modules/grunt-open/node_modules/open/vendor/xdg-open: xdg-mime: not found
xdg-open: no method available for opening 'http://localhost:9000'
Use --force to continue.
Aborted due to warnings.
scripts/docker-local-demo.sh
I keep getting docker errors, no matter if that's on AWS or my Macbook. Both have docker installed (but I don't know about docker-compose. Fig - yes.
AWS:
scripts/docker-local-demo.sh
/usr/bin/docker
which: no docker-compose in (/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/aws/bin:/home/ec2-user/bin)
Depended executable not found. Check the message above
Macbook with boot2docker
bash-3.2$ scripts/docker-local-demo.sh
/usr/local/bin/docker
Depended executable not found. Check the message above
bash-3.2$ scripts/docker-local-demo.sh
/usr/local/bin/docker
/usr/local/bin/docker-compose
readlink: illegal option -- e
usage: readlink [-n] [file ...]
on aws I get
scripts/docker-local-demo.sh
/usr/bin/docker
/usr/bin/docker-compose
|=================================================================|
|open in browser "http://localhost:80" after server will be ready |
| if you can not log in you probably need to run |
"./docker-local-create-user.sh" |
|=================================================================|
Traceback (most recent call last):
File "/usr/bin/docker-compose", line 5, in <module>
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
Can you try to pull the latest changes from repo? Now it's not using readlink.
It looks like you're new here. If you want to get involved, click one of these buttons!