Add deploy notes.
This commit is contained in:
parent
06bfd92647
commit
180c62a39b
2 changed files with 21 additions and 1 deletions
20
README.md
20
README.md
|
@ -1,2 +1,22 @@
|
||||||
# personal-site-frontend
|
# personal-site-frontend
|
||||||
|
|
||||||
|
Set up npm and install packages:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
cd personal-site
|
||||||
|
npm install
|
||||||
|
```
|
||||||
|
|
||||||
|
Serve by installing angular-cli and doing:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
cd personal-site
|
||||||
|
ng serve
|
||||||
|
```
|
||||||
|
|
||||||
|
Deploy with:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
ng build --output-path $BACKEND_STATIC_DIR --output-hashing none
|
||||||
|
```
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<main class="main">
|
<main class="main">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<h1>Welcome to {{ title }}</h1>
|
<h1>Welcome to {{ title }}</h1>
|
||||||
<p>It's a basic Angular app</p>
|
<p>🚧 It's currently getting a facelift 🚧</p>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue