Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app.js refers to missing ../dist folder #1

Open
slm4996 opened this issue Jun 30, 2016 · 2 comments
Open

app.js refers to missing ../dist folder #1

slm4996 opened this issue Jun 30, 2016 · 2 comments

Comments

@slm4996
Copy link

slm4996 commented Jun 30, 2016

node/app.js refers to a non-existent dist folder. See https://github.com/chriscareycode/nagiostv-4/blob/057d91953a9859de996c88907affe49fdacba7ac/node/app.js#L92-L98

app.use(cors());

app.use('/', express.static('../dist'));

app.get('/nagios/:page', function(req, res) {
   getNagios(req, res);
});

app.listen(3000);
@chriscareycode
Copy link
Owner

Thank you for reporting this and my apologies for not responding for so long!! I did not see this Issue and will fix the notifications so I do not miss another.

You will need to install Ember CLI https://ember-cli.com/ with npm install -g ember-cli. This will install ember command line and does not matter what folder you are in since it is installed globally. Then, in the root of the project folder run 'npm build' or 'ember build'. Ember CLI will build the Ember.js code and create the dist folder. I include the dist/ folder on the released builds here https://github.com/chriscareycode/nagiostv-4/releases but it does not exist if you git clone this project. I will update the README to hopefully make that process more clear.

@gnanet
Copy link

gnanet commented Apr 27, 2018

i think you can include (almost) emtpy folders for cloning too, placing an empty dummy file into the folder is enough, not elegant, but works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants