Skip to content

json-porn-api/open-source-porn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Open Source Porn

Work in progress. Go away.

Run Locally

  1. Setup your environment for Node.js developement.

  2. Install the Google Cloud SDK.

  3. Acquire local credentials for authenticating with Google Cloud Platform APIs:

    gcloud auth application-default login
    
  4. Install depedencies using npm or yarn:

    npm install
    

    or

    yarn install
    
  5. Run the sample with npm or yarn:

    npm start
    

    or

    yarn start
    
  6. Visit the application at http://localhost:8080.

Deploy

  1. Use the Google Cloud Console to create a Google Cloud Platform project.

  2. Enable billing for your project.

  3. Use the Cloud SDK to deploy your app.

    gcloud app deploy
    

    Note: If there is a yarn.lock file then yarn install will be used during deployment. Delete the yarn.lock file to fall back to npm install.

  4. View your deployed application at https://YOUR_PROJECT_ID.appspot.com.