To get a local copy up and running follow these steps.
This template doesn't rely on any external dependencies or services.
-
Create a new repo using this one as the template (or click "Use this template" on github)
gh repo create <MyRepoName> --template https://github.com/themikelester/ts-boilerplate.git
-
Modify per-project fields in webpack.common.js
// @NOTE: These need to be updated per-project const WEB_TITLE = '<SomeTitle>' const WEB_DESC = '<SomeDescription>' const GITHUB_URL = 'https://github.com/<username>/<MyRepoName>'; const GTAG_ID = <SomeGoogleAnalyticsID>;
-
Modify the name in
package.json
{ "name": "MyRepoName", ... }
-
Modify Readme.md for your new repository
-
Install NPM dependency packages
yarn install
-
(Optional) If errors are encountered during the previous step, there are likely some outdated package dependencies. Run the following to update all minor versions for packages listed in
package.json
yarn upgrade
If you're feeling generous, push the updated
yarn.lock
back up to here.
- Start the local web server
yarn start
- Visit http://localhost:8080 in your web browser
Distributed under the MIT License. See LICENSE.txt
for more information.