The offical landing page for Quakemap. Built using React and other open source technologies.
Software | Version |
---|---|
Git | 2.20.1+ |
Node | 10.15.0+ |
- Run the following command to install all the required packages:
npm i
- Copy the environment variable files for test, production and development:
cp .env.example .env.production
cp .env.example .env.development
- Update the variable
SITE_URL
in.env.*
files.
- Run the development server:
npm run dev
- Open http://localhost:3000 with your browser to see the result.
-
Update the environment variables in
.env.production
. -
Create and merge a Pull Request into the main branch.
-
The production site is automatically deployed to https://quakemap.vercel.app/.
.
├── ...
├── components # Site components
│ ├── index.js
│ └── ...
├── data # Site content
│ ├── index.js
│ └── ...
├── pages # Site pages
│ ├── _app.js # Next JS app entry point
│ ├── _document.js # Next JS SEO compatible site wrapper
│ ├── index.js # Main page
│ └── ...
├── public
│ ├── images # Site images
│ │ └── ...
│ ├── banner.png # Site SEO banner
│ ├── favicon.ico # Site favicon
│ └── ...
├── styles # Site Styles
│ ├── globals.css # Global styles
│ └── ...
├── next.config.js # Next JS config
├── postcss.config.js # Post CSS config
├── tailwind.config.js # Tailwind config
└── ...