1

This is a follow-up question to Ember.js app, Parse throws 404 for any path but root:

I have built an Ember-CLI app that I now want to host on Parse.com.

I can't figure out how to actually run the app server on Parse. I confess I don't understand how to serve an Ember-CLI in production from any server.

Do I run "ember server" on Parse somehow or do I need to make my own Express server for this to work?

Community
  • 1
  • 1
blisstdev
  • 633
  • 4
  • 13

1 Answers1

1
  1. Run parse new in some temp folder to create the correct config files for your existing parse app
  2. Edit .ember-cli file and add "output-path" : "dist/public" to deploy your code to dist/public
  3. Copy the folders code and config from your temp folder in step 1 to dist/code and dist/config
  4. In a terminal window cd dist and parse deploy
  5. Edit environment.js in your ember config folder and change locationType to hash
Emad
  • 4,110
  • 5
  • 30
  • 35