2020-03-23 23:12:18 +01:00
|
|
|
# Boilerplate
|
|
|
|
|
|
|
|
Storing some boilerplate code to help me reduce the time it takes me to develop
|
|
|
|
and deploy applications.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
Let's say that you would like to create a game for
|
|
|
|
`sandbox.wpcarro.dev/game`. We will create a new TypeScript project with the
|
|
|
|
following:
|
|
|
|
|
|
|
|
```shell
|
2021-12-24 00:30:31 +01:00
|
|
|
$ cp -r typescript path/to/new-project
|
2020-03-23 23:12:18 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
This initializes the project. To start developing, run:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
$ nix-shell
|
|
|
|
$ yarn run dev
|
|
|
|
```
|