Create a new project based on the TA Interaktiv React Base.
npm install @ta-interaktiv/create-projectUse this to create a new, blank project based on React Base.
This will clone the React Base, remove the original Git history, set up a new
Git repository and create a new project on GitLab.
- Yarn
Navigate to the directory you want to create the project in, e.g.:
``commandline`
cd ~/Sites
Then run
`commandline`
yarn create @ta-interaktiv/project
yarn create will download the newest version of the script, ask you for the
slug name of the project (a short name, like _oscars_ or _mietpreis-karte_),
prepend the current year and month (like so: _2018-02-oscars_) and create
the project.
In the end a Finder window should open with the newly created project.
In order to test the newly created project, run
`commandline`
yarn start
| Argument | Effect |
| ----------- | ---------------------------------------------------------------------- |
| --no-repo` | Skips the creation of a git repository, both locally and on GitLab.com |