git clone https://github.com/apipinic/developer-platform.git
cd developer-platform
docker build -t developer-platform .
docker run -d --name developer-platform -p 3000:3000 developer-platform
Open your web browser and go to http://localhost:3000
(or alternatively to http://127.0.0.1:3000
).
If you prefer not to build the container manually, you can pull and start the container with the following commands:
docker pull ghcr.io/apipinic/developer-platform:latest
docker run -d --name developer-platform -p 3000:3000 ghcr.io/apipinic/developer-platform:latest
There are 2 required inputs for the action:
NETLIFY_AUTH_TOKEN
this is a personal access token created from your Netlify account
NETLIFY_SITE_ID
this is the API ID of your Netlify site
API ID
fieldIn case of already having the deployment ready data - we can easily skip the nvm, install and build part via passing:
- name: Deploy to Netlify
uses: jsmrcaga/action-netlify-deploy@v2.0.0
with:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_DEPLOY_MESSAGE: "Deploy from GitHub Actions - Commit ${{ github.workflow_sha }} pushed by ${{ github.actor }}"
NETLIFY_DEPLOY_TO_PROD: true