1. Create an instance of a Heroku DB
$ heroku addons:create heroku-postgresql:plan -a app-name
# heroku addons:create heroku-postgresql:standard-0 -a cool-app-prod2. Export external DB locally
| # This file contains the fastlane.tools configuration | |
| # You can find the documentation at https://docs.fastlane.tools | |
| # | |
| # For a list of all available actions, check out | |
| # | |
| # https://docs.fastlane.tools/actions | |
| # | |
| # For a list of all available plugins, check out | |
| # | |
| # https://docs.fastlane.tools/plugins/available-plugins |
| name: PR & Deploy [UAT] | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, closed] | |
| branches: | |
| - uat | |
| env: | |
| APP_ENV: "staging" |
| version: 2 | |
| jobs: | |
| build: | |
| docker: | |
| - image: circleci/node:latest | |
| environment: | |
| DATABASE_URL: postgresql://postgres:postgres@localhost:5432/db_name | |
| POSTGRES_USER: postgres | |
| POSTGRES_DB: db_name |
| <% include partials/header%> | |
| <div class="container-fluid"> | |
| <div class="row"> | |
| <%videos.forEach((video) => {%> | |
| <div class="col-lg-4"> | |
| <div class="card m-1"> | |
| <div class="card-body"> | |
| <p> | |
| <h5><%=video.title%></h5> |
A few resources I put together for a friend who wanted to learn React in order to build a data visualisation dashboard.
(According to the gospel of Tim Leslie)
$ "start": "/bin/sh -c 'cd projects/${1:-$0} && yarn start' basic"