Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration to spa #54

Merged
merged 31 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
06d7566
Migration to spa
lperezp Mar 31, 2024
8b85b4c
feat(component): add header component
lperezp Mar 31, 2024
1646068
feat(page): add home page
lperezp Mar 31, 2024
3ef5932
feat(component): add footer component
lperezp Apr 1, 2024
55946ab
feat(component): add card community component
lperezp Apr 1, 2024
429d793
feat(component): update card community component
lperezp Apr 1, 2024
79ea1de
feat(component): update card community component
lperezp Apr 1, 2024
0769314
feat(component): add contributors component
lperezp Apr 2, 2024
fd00863
feat(component): update card community detail component
lperezp Apr 4, 2024
4673663
ci(deploy): update file yml
lperezp Apr 5, 2024
2980bfd
ci(deploy): update file yml
lperezp Apr 5, 2024
0fd2e2f
ci(deploy): update file yml
lperezp Apr 5, 2024
375a9cf
ci(deploy): update file yml
lperezp Apr 5, 2024
677e32b
ci(deploy): update file yml
lperezp Apr 5, 2024
3058348
ci(deploy): update file yml
lperezp Apr 5, 2024
bdcb730
ci(deploy): update package.json
lperezp Apr 5, 2024
00bae2f
feat(component): add filter community by city
lperezp Apr 5, 2024
d21f809
ci(deploy): update file yml
lperezp Apr 5, 2024
f38472c
ci(deploy): update file yml
lperezp Apr 5, 2024
2701548
ci(deploy): update file yml
lperezp Apr 5, 2024
20725cf
ci(deploy): update file index
lperezp Apr 5, 2024
747f8c7
ci(deploy): update config.ts
lperezp Apr 5, 2024
7f85a70
ci(deploy): update file yml
lperezp Apr 5, 2024
96be66e
refactor(data): json formatted
lperezp Apr 5, 2024
cb98955
feat(component): update card community component
lperezp Apr 5, 2024
c23b1a3
feat(component): order alphabetically the communities
lperezp Apr 5, 2024
58d87cd
fix(app): update routes
lperezp Apr 5, 2024
ffa9da3
ci(deploy): update package.json
lperezp Apr 5, 2024
d84ea2b
refactor(deploy): update routes and path
lperezp Apr 5, 2024
3c3bf8d
docs(readme): update readme
lperezp Apr 18, 2024
ebc6bf4
docs(readme): update readme
lperezp Apr 18, 2024
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
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Editor configuration, see https://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.ts]
quote_type = single

[*.md]
max_line_length = off
trim_trailing_whitespace = false
20 changes: 0 additions & 20 deletions .github/workflows/jekyll.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/workflow-angular.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build and Deploy
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup nodejs
uses: actions/setup-node@v3.7.0
with:
node-version: "20"
- name: Install deps
run: npm i
- name: Build app bundle
run: npm run build:prod
- name: Rename index for routing
run: mv dist/peruanos.github.io/browser/index.html dist/peruanos.github.io/browser/404.html
# Deploy to Github pages
- name: Deploy to Pages
uses: crazy-max/ghaction-github-pages@v3.1.0
with:
build_dir: dist/peruanos.github.io/browser/
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
54 changes: 41 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,42 @@
_site
.sass-cache
.jekyll-metadata
.jekyll-cache
.DS_Store
._site
.Gemfile.lock
Gemfile.lock
#IntelliJ files
*.iml
# See http://help.github.com/ignore-files/ for more about ignoring files.

# Compiled output
/dist
/tmp
/out-tsc
/bazel-out

# Node
/node_modules
npm-debug.log
yarn-error.log

# IDEs and editors
.idea/
_data/events.json
_data/info.json
.jekyll-cache
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# Visual Studio Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history/*

# Miscellaneous
/.angular/cache
.sass-cache/
/connect.lock
/coverage
/libpeerconnection.log
testem.log
/typings

# System files
.DS_Store
Thumbs.db
4 changes: 4 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846
"recommendations": ["angular.ng-template"]
}
20 changes: 20 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "ng serve",
"type": "chrome",
"request": "launch",
"preLaunchTask": "npm: start",
"url": "http://localhost:4200/"
},
{
"name": "ng test",
"type": "chrome",
"request": "launch",
"preLaunchTask": "npm: test",
"url": "http://localhost:9876/debug.html"
}
]
}
42 changes: 42 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
// For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "start",
"isBackground": true,
"problemMatcher": {
"owner": "typescript",
"pattern": "$tsc",
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "(.*?)"
},
"endsPattern": {
"regexp": "bundle generation complete"
}
}
}
},
{
"type": "npm",
"script": "test",
"isBackground": true,
"problemMatcher": {
"owner": "typescript",
"pattern": "$tsc",
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "(.*?)"
},
"endsPattern": {
"regexp": "bundle generation complete"
}
}
}
}
]
}
13 changes: 0 additions & 13 deletions Gemfile

This file was deleted.

17 changes: 0 additions & 17 deletions LICENSE

This file was deleted.

14 changes: 0 additions & 14 deletions Rakefile

This file was deleted.

11 changes: 5 additions & 6 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@

¡Hola!. Estamos creando un directorio con todas las comunidades de tecnología en el Perú.

Si no encuentras tu comunidad, puedes agregarla desde [aquí](https://github.com/peruanosdev/peruanos.github.io/edit/master/_data/communities.json).
Si no encuentras tu comunidad, puedes agregarla desde [aquí](https://github.com/peruanosdev/peruanos.github.io/edit/master/_data/communities.ts).

## Configuración Local (Modo Desarrollo)

Para levantar la aplicación localmemte sigue los siguientes pasos:

1. Asegúrate de tener instalado Ruby
2. Instala las dependencias: `bundle install`
3. Obtener datos: `rake prepare`
4. Empezar la app: `bundle exec jekyll serve`
5. Ir a la [app](http://127.0.0.1:4000)
1. Asegúrate de tener instalado npm
2. Instala las dependencias: `npm install`
3. Empezar la app: `npm run start`
4. Ir a la [app](http://localhost:4200/)
9 changes: 0 additions & 9 deletions _config.yml

This file was deleted.

Loading
Loading