This is the website for JCONF Peru (Java Conference Peru) - the premier Java conference in Peru for developers and users of Java technologies.
- Production: https://jconfperu.com
- Preview/Sandbox: https://jconfperu-etqvmqfyo-dario-lunas-projects.vercel.app
This website is a static landing page built with HTML, CSS, and JavaScript, powered locally by Vite.
- Node.js v22.20.0 or higher (recommended)
- fnm or nvm for managing Node versions (optional but helpful)
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser at:
http://localhost:5173
Vite provides instant hot module replacement (HMR). Any changes to HTML, CSS, or JS will automatically refresh the browser.
-
Build the site for production:
npm run build
-
Preview the production build locally:
npm run preview
-
Serve on a custom port: Edit the
vite.config.jsfile:export default { server: { port: 3000 } }
-
Stop the server: Press
Ctrl+Cin the terminal where Vite is running.
If you see an error like:
You are using Node.js 20.11.1. Vite requires Node.js version 20.19+ or 22.12+. Please upgrade your Node.js version.
Update Node.js using fnm:
fnm install 22.20.0
fnm use 22.20.0This project uses a dual deployment strategy with automatic preview deployments for pull requests.
- Trigger: Push to
masterbranch - URL:
https://jconfperu.com(custom domain) - Purpose: Live production site
- Trigger: Pull request to
masterbranch - URL:
https://jconfperu-pr-{PR_NUMBER}-dario-lunas-projects.vercel.app(unique URL per PR) - Purpose: Testing and review before merging
When you create a pull request targeting the master branch:
- Automatic Build: GitHub Actions builds the Jekyll site
- Unique Preview Deployment: Deploys to Vercel with a unique URL per PR
- PR Comment: Automatically adds a comment with the unique preview URL
- Test Changes: Use the preview URL to test your changes
- Share with Team: Share the preview URL for team review
- Iterate: Push more commits to update the preview
When you merge the pull request:
- Production Deployment: Automatically deploys to
jconfperu.com - Preview Cleanup: Vercel automatically cleans up the unique preview deployment
Each pull request gets its own unique preview URL:
- PR #1:
https://jconfperu-pr-1-dario-lunas-projects.vercel.app - PR #2:
https://jconfperu-pr-2-dario-lunas-projects.vercel.app - PR #3:
https://jconfperu-pr-3-dario-lunas-projects.vercel.app - And so on...
- Check GitHub Actions logs
- Verify Vercel secrets are correct
- Ensure pull request targets
masterbranch
- Wait 2-3 minutes for deployment to complete
- Check Vercel dashboard for deployment status
- Verify the URL in the PR comment
- Check if PR was merged to
master - Verify GitHub Actions workflow completed
- Check Vercel dashboard for production deployment