Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions ArkBot/WebApp/build.command
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
ng build --prod --bh /
prod build (the one we commit to the repository)
----------------------------
ng build --env prod --bh /


dev
----------------------------
ng serve --env demo


gh-pages
----------------------------
ng build --demo --base-href "https://tsebring.github.io/ArkBot/"
ng build --env demo --base-href "https://ark-mod.github.io/ArkBot/"

We use angular-cli-ghpages to push it to the repository
Installing angular-cli-ghpages:
npm i angular-cli-ghpages --save-dev

Pushing it:
npx angular-cli-ghpages --repo https://github.com/ark-mod/ArkBot.git



ngh


ng build --prod --no-aot ; DEL "../bin/x64/Debug/WebApp/" ; COPY "dist\*" "../bin/x64/Debug/WebApp/"
5 changes: 2 additions & 3 deletions ArkBot/WebApp/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<script src="config.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/locale/sv.js"></script>
<link href="styles.07a600519edcc9a023fa.bundle.css" rel="stylesheet"/></head>
</head>
<body>
<section class="w3-container">
<div class="w3-panel w3-light-grey">
<h3 class="w3-text-grey">Loading...</h3>
</div>
</section>
<script type="text/javascript" src="inline.77eb3af5725a069944ad.bundle.js"></script><script type="text/javascript" src="polyfills.6fd0ea22f809f9a8e008.bundle.js"></script><script type="text/javascript" src="scripts.38ac096be18638d631af.bundle.js"></script><script type="text/javascript" src="vendor.96d0c7b25b67a87c5dda.bundle.js"></script><script type="text/javascript" src="main.fbdad6e6b6001173f6ce.bundle.js"></script></body>
<script type="text/javascript" src="inline.bundle.js"></script><script type="text/javascript" src="polyfills.bundle.js"></script><script type="text/javascript" src="scripts.bundle.js"></script><script type="text/javascript" src="styles.bundle.js"></script><script type="text/javascript" src="vendor.bundle.js"></script><script type="text/javascript" src="main.bundle.js"></script></body>
</html>
1 change: 0 additions & 1 deletion ArkBot/WebApp/dist/inline.77eb3af5725a069944ad.bundle.js

This file was deleted.

146 changes: 146 additions & 0 deletions ArkBot/WebApp/dist/inline.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions ArkBot/WebApp/dist/inline.bundle.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading