Enframe
Remaining Features to Complete
-
Ensure idempotency
-
lint
-
palantir/tslint-react
-
Service worker
-
deploy to app stores?
-
Investigate post-heroku deploy steps. I.e., automated custom domain setup via heroku CLI? Automated domain registration (far-fetched)?
-
Programmatic index.html generation?
-
introduce psql
-
introduce Redux
-
introduce integration tests
Before enframing
- Ensure you have stored your Gitlab SSH key on your dev machine.
- Ensure you have the Heroku CLI on your dev machine.
Steps
-
Create a new app.
mkdir new-appcd new-app -
Add an
enframe.json
file. -
Add and execute enframe.
yarn add --dev enframeyarn enframe
Notes
- A
$HEROKU_API_KEY
needs to be stored in your Gitlab project in order for yourgitlab-ci.yml
file to deploy to Heroku successfully. It is in Heroku User Settings. Copy it into Gitlab underSettings -> CICD -> Variables
. Until you do this, the deploy steps will fail. - The Gitlab project does not need to exist before you set it as an upstream. Gitlab can create the project for you on first push.