Skip to content

Commit 1de725f

Browse files
authored
Merge pull request #119 from Sirpyerre/sirpyerre/site-migration
Reemplazo de sitio PHP por nuevo sitio estático en HTML/CSS
2 parents 386e8bf + 46e620e commit 1de725f

File tree

355 files changed

+6942
-31167
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

355 files changed

+6942
-31167
lines changed

.github/workflows/deploy.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
permissions:
9+
contents: write
10+
pages: write
11+
id-token: write
12+
13+
jobs:
14+
build-and-deploy:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v4
19+
20+
- name: Set up Node.js
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: '20'
24+
cache: 'npm'
25+
26+
- name: Install dependencies
27+
run: npm install
28+
29+
- name: Create .env file
30+
run: |
31+
echo VITE_YOUTUBE_API_KEY=${{ secrets.VITE_YOUTUBE_API_KEY }} >> .env
32+
echo VITE_YOUTUBE_CHANNEL_ID=${{ secrets.VITE_YOUTUBE_CHANNEL_ID }} >> .env
33+
34+
- name: Build the project
35+
run: npm run build
36+
37+
- name: Deploy to GitHub Pages
38+
uses: peaceiris/actions-gh-pages@v4
39+
with:
40+
github_token: ${{ secrets.GITHUB_TOKEN }}
41+
publish_dir: ./dist

.github/workflows/php.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.

.gitignore

Lines changed: 22 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,24 @@
1-
###> symfony/framework-bundle ###
2-
/.env.local
3-
/.env.local.php
4-
/.env.*.local
5-
/public/bundles/
6-
/var/
7-
/vendor/
8-
###< symfony/framework-bundle ###
9-
###> symfony/web-server-bundle ###
10-
/.web-server-pid
11-
###< symfony/web-server-bundle ###
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
129

13-
###> symfony/webpack-encore-bundle ###
14-
/node_modules/
15-
/public/build/
16-
npm-debug.log
17-
yarn-error.log
18-
.DS_Store
19-
###< symfony/webpack-encore-bundle ###
20-
###> friendsofphp/php-cs-fixer ###
21-
/.php_cs
22-
/.php_cs.cache
23-
###< friendsofphp/php-cs-fixer ###
24-
25-
###> symfony/phpunit-bridge ###
26-
.phpunit
27-
.phpunit.result.cache
28-
/phpunit.xml
29-
###< symfony/phpunit-bridge ###
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
3014

31-
###> env/ide ###
32-
.idea/
33-
###< env/ide ###
34-
35-
public/uploads/
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

.php_cs.dist

Lines changed: 0 additions & 17 deletions
This file was deleted.

Makefile

Lines changed: 0 additions & 24 deletions
This file was deleted.

README.md

Lines changed: 75 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,92 @@
11
# PHP México
2-
![php73-badge]
3-
> PHP México Community website
42

5-
![](resources/docs/img/phpmexico.mx.png)
3+
PHP México Community website - The largest PHP community in Mexico.
64

7-
## Development setup
5+
## Description
86

9-
Windows, OS X & Linux::
7+
This is the official website for PHP México, a community of PHP developers across Mexico. The site provides:
108

11-
- Run docker container & install dependencies
12-
```sh
13-
docker-compose up -d
14-
docker-compose exec -u web web bash
15-
composer install
16-
php bin/console doctrine:migra:migra
9+
- Community information and resources
10+
- Event listings and videos from past meetups
11+
- FAQ section for new members
12+
- Technology showcase
13+
- Social media integration
14+
15+
Built with React, TypeScript, Vite, and Tailwind CSS.
16+
17+
## Development Setup
18+
19+
### Prerequisites
20+
21+
- Node.js 18+
22+
- npm or yarn
23+
24+
### Installation
25+
26+
1. Clone the repository:
27+
```bash
28+
git clone https://github.com/Sirpyerre/phpmexico.git
29+
cd phpmexico
30+
```
31+
32+
2. Install dependencies:
33+
```bash
34+
npm install
35+
```
36+
37+
3. Create a `.env.local` file in the root directory:
38+
```bash
39+
VITE_YOUTUBE_API_KEY=your_youtube_api_key_here
40+
VITE_YOUTUBE_CHANNEL_ID=UCwQwULU2DdB6BkfBqLpQaKA
1741
```
1842

19-
- Build assets
20-
```sh
21-
docker-compose -f docker-compose.cli.yml run --rm yarn install
22-
docker-compose -f docker-compose.cli.yml run --rm yarn build
43+
4. Start the development server:
44+
```bash
45+
npm run dev
2346
```
2447

25-
- Go to http://localhost:8080/
48+
5. Open your browser at `http://localhost:5173`
49+
50+
### Available Scripts
51+
52+
- `npm run dev` - Start development server
53+
- `npm run build` - Build for production
54+
- `npm run preview` - Preview production build
55+
- `npm run lint` - Run ESLint
2656

2757
## Contributing
2858

29-
### Open [issues](https://github.com/phpmx/phpmexico/issues) & [projects](https://github.com/phpmx/phpmexico/projects/)
59+
We welcome contributions from the community! Here's how you can help:
60+
61+
### Reporting Issues
62+
63+
- Use the GitHub issue tracker
64+
- Provide clear description and steps to reproduce
65+
- Include screenshots if applicable
66+
67+
### Pull Requests
68+
69+
1. Fork the repository
70+
2. Create a feature branch (`git checkout -b feature/AmazingFeature`)
71+
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
72+
4. Push to the branch (`git push origin feature/AmazingFeature`)
73+
5. Open a Pull Request
74+
75+
### Code Guidelines
76+
77+
- Follow the existing code style
78+
- Write meaningful commit messages
79+
- Test your changes before submitting
80+
- Update documentation as needed
3081

31-
1. Fork it (<https://github.com/phpmx/phpmexico/fork>)
32-
2. Create your feature branch (`git checkout -b feature/fooBar`)
33-
3. Run php-cs-fixer (`composer lint`)
34-
4. Run tests (`./bin/phpunit`)
35-
4. Commit your changes (`git commit -am 'Add some fooBar'`)
36-
5. Push to the branch (`git push origin feature/fooBar`)
37-
6. Create a new Pull Request
82+
## Community
3883

39-
## Meta
84+
- **Slack**: [Join our chat](https://join.slack.com/t/phpmx/shared_invite/zt-3a188halw-o05hyFNG~qEmW9Ci_g1kuQ)
85+
- **Meetup**: [PHP The Right Way](https://www.meetup.com/es-ES/PHP-The-Right-Way/)
86+
- **Twitter**: [@phpmx](https://twitter.com/phpmx)
87+
- **YouTube**: [@phpmexico](https://www.youtube.com/@phpmexico)
4088

41-
PHP México – [@phpmx](https://twitter.com/phpmx)[slack://phpmx](https://phpmx.slack.com)
89+
## License
4290

91+
This project is open source and available under the [MIT License](LICENSE).
4392

44-
<!-- Markdown link & img dfn's -->
45-
[php73-badge]: https://img.shields.io/badge/PHP_Version-7.3-darkgreen.svg

assets/css/_font.scss

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)