Comments (3)
Sorry, I was distracted and posted the new issue before completing my description...
Anyway, because of flat-ui-official bower stops the install. If I remove flat-ui from the json file, the rest of the dependencies are installed and I get a lot less 404s in the log. At least I can create or delete a workspace, even when there is no styling to the the html.
And a last issue which concerns the installation, but is not related to the old ones #8 and #9: Is there a way to run this behind forward proxy like nginx? I tried to set this up with the following setup in ngxinx:
upstream c9_upstream {
server 127.0.0.1:3105;
server 127.0.0.1:5000;
}
server {
listen 443;
ssl on;
# other ssl configuration
location / {
# usual proxy configuration for node.js, google is your friend
proxy_pass http://c9_upstream;
}
}
For that to work, I also had to change server.js where passport.js is setup for GitHubStrategy:
//callbackURL: app.get('baseUrl') + ':' + app.get('port') + '/auth/github/callback'
callbackURL: app.get('baseUrl') + '/auth/github/callback'
so the redirect would work. I was able to login, create a test workspace, but starting the workspace timed out. The log did not show any message beyond starting c9. Is it possible for this setup to work behind nginx as a proxy? What I am going for is actually not having to open more ports on my server....
Thanks and best regards,
tntodorov
from cloud9hub.
This is what it looks like without the flat-ui (and without the proxy)...
from cloud9hub.
You can get the UI back by installing flat-ui
with bower and then altering the views under views/includes
as such:
In header.html:
<!-- Loading Bootstrap -->
<link href="/lib/flat-ui/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
<!-- Loading Flat UI -->
<link href="/lib/flat-ui/dist/css/flat-ui.min.css" rel="stylesheet">
And in footer.html:
<script src="/lib/flat-ui/dist/js/vendor/jquery.min.js"></script>
<script src="/lib/flat-ui/dist/js/vendor/respond.min.js"></script>
<script src="/lib/flat-ui/dist/js/flat-ui.min.js"></script>
from cloud9hub.
Related Issues (16)
- Left panel too big HOT 2
- Missing UI - 404 error - Connection refused HOT 5
- Support multiple users at the same time. HOT 9
- Is there a roadmap? HOT 5
- 404 in referenced libraries flat-ui-official no longer exists? HOT 2
- Can we add Local Strategy to cloudhub? Any pointers to help me to do it.. HOT 8
- Setup w/out GitHub? HOT 2
- Dockerizing the cloud9hub app HOT 2
- will work with c9/core? HOT 7
- 404 & 304 errors HOT 1
- 500 failed to fetch user profile HOT 10
- Support v3 HOT 1
- How to setup an app? HOT 2
- bower install missing HOT 1
- Installation issues - all resources in /lib/ return 404 errors HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloud9hub.