Compare commits
5 Commits
eed553d866
...
2.0.0
Author | SHA1 | Date | |
---|---|---|---|
b48302b0b7 | |||
f9a181cdcc | |||
6b25c8d7a2 | |||
41bbbdc801 | |||
2408262170 |
1
.github/workflows/website.yaml
vendored
1
.github/workflows/website.yaml
vendored
@ -23,7 +23,6 @@ jobs:
|
|||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
if: ${{inputs.artifacts}} != "false"
|
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: website
|
name: website
|
||||||
|
19
README.md
19
README.md
@ -34,6 +34,7 @@
|
|||||||
- [Demo](#demo)
|
- [Demo](#demo)
|
||||||
- [Built With](#built-with)
|
- [Built With](#built-with)
|
||||||
- [Setup](#setup)
|
- [Setup](#setup)
|
||||||
|
- [Production](#production)
|
||||||
- [Development](#development)
|
- [Development](#development)
|
||||||
- [License](#license)
|
- [License](#license)
|
||||||
|
|
||||||
@ -52,11 +53,27 @@ Website: https://maps.zakscode.com
|
|||||||
|
|
||||||
### Built With
|
### Built With
|
||||||
[](https://angular.io/)
|
[](https://angular.io/)
|
||||||
|
[](https://docker.com/)
|
||||||
[](https://firebase.google.com/)
|
[](https://firebase.google.com/)
|
||||||
[](https://typescriptlang.org/)
|
[](https://typescriptlang.org/)
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>
|
||||||
|
<h3 id="production" style="display: inline">
|
||||||
|
Production
|
||||||
|
</h3>
|
||||||
|
</summary>
|
||||||
|
|
||||||
|
#### Prerequisites
|
||||||
|
- [Docker](https://docs.docker.com/install/)
|
||||||
|
|
||||||
|
#### Instructions
|
||||||
|
1. Run the docker image: `docker run -p 80:80 ztimson/map-alliance`
|
||||||
|
2. Open http://localhost
|
||||||
|
</details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>
|
<summary>
|
||||||
<h3 id="development" style="display: inline">
|
<h3 id="development" style="display: inline">
|
||||||
@ -70,7 +87,7 @@ Website: https://maps.zakscode.com
|
|||||||
#### Instructions
|
#### Instructions
|
||||||
1. Install the dependencies: `npm install`
|
1. Install the dependencies: `npm install`
|
||||||
2. Start the Angular server: `npm run start`
|
2. Start the Angular server: `npm run start`
|
||||||
3. Open [http://localhost:4200](http://localhost:4200)
|
3. Open http://localhost:4200
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
@ -1,31 +1,31 @@
|
|||||||
worker_processes auto;
|
worker_processes auto;
|
||||||
pid /var/run/nginx.pid;
|
pid /var/run/nginx.pid;
|
||||||
|
|
||||||
events {
|
events {
|
||||||
worker_connections 1024;
|
worker_connections 1024;
|
||||||
}
|
}
|
||||||
|
|
||||||
http {
|
http {
|
||||||
include mime.types;
|
include mime.types;
|
||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
|
|
||||||
gzip on;
|
gzip on;
|
||||||
gzip_proxied any;
|
gzip_proxied any;
|
||||||
gzip_types text/plain text/css application/xml application/xhtml+xml application/rss+xml application/javascript application/x-javascript application/json application/x-font-woff;
|
gzip_types text/plain text/css application/xml application/xhtml+xml application/rss+xml application/javascript application/x-javascript application/json application/x-font-woff;
|
||||||
gzip_vary on;
|
gzip_vary on;
|
||||||
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
|
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
|
||||||
|
|
||||||
sendfile off;
|
sendfile off;
|
||||||
keepalive_timeout 65;
|
keepalive_timeout 65;
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
index index.html;
|
index index.html;
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
autoindex off;
|
autoindex off;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri$args $uri$args/ /index.html;
|
try_files $uri $uri/ /index.html;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
41046
package-lock.json
generated
41046
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -45,7 +45,6 @@
|
|||||||
"@angular/cli": "^17.0.0",
|
"@angular/cli": "^17.0.0",
|
||||||
"@angular/compiler-cli": "^17.0.0",
|
"@angular/compiler-cli": "^17.0.0",
|
||||||
"@types/leaflet": "^1.5.1",
|
"@types/leaflet": "^1.5.1",
|
||||||
"@types/lodash": "^4.14.138",
|
|
||||||
"firebase-tools": "^12.0.0",
|
"firebase-tools": "^12.0.0",
|
||||||
"typescript": "~5.2.2"
|
"typescript": "~5.2.2"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user