How to use FCF

Creating an application instance

  1. Create an instance of the app:

    $fcfmngr create project PROJECT_NAME

  2. Go to the app directory:


  3. Create a database:

  4. $fcfmngr create-db PROJECT_NAME.js

  5. Edit the server.json file and set the user parameter. This is the name of the user from which NODEJS processes will start

  6. Now you can start the app

    $sudo fcfserver ./server.json

  7. Open the browser http://localhost