The ExploreCraft website! https://explorecraft.net
Find a file
2024-03-14 13:33:45 +01:00
docs/assets Update Screenshots in README 2023-06-30 16:21:43 +02:00
src change to static site building 2024-03-14 11:52:21 +01:00
static Fix image names and add remaining images to home 2023-07-12 12:42:39 +02:00
.gitignore Rewrite 2023-06-05 01:25:15 +03:00
.npmrc Rewrite 2023-06-05 01:25:15 +03:00
.prettierrc progress 2023-06-08 21:36:35 +02:00
LICENSE License Project with the MPL v2.0 2023-06-16 15:57:23 +02:00
package-lock.json Add node adapter for building 2023-06-23 14:51:54 +02:00
package.json change to static site building 2024-03-14 11:52:21 +01:00
README.md License Project with the MPL v2.0 2023-06-16 15:57:23 +02:00
svelte.config.js change to static site building 2024-03-14 11:52:21 +01:00
vite.config.js Rewrite 2023-06-05 01:25:15 +03:00
yarn.lock change to static site building 2024-03-14 11:52:21 +01:00

ExploreCraft: Website

This is the ExploreCraft Website. Created with Svelte, PicoCSS, and dedication by Sangelo & LogolicusZ.

License

This project is licensed under the MPL v2.0. More info here.

Developing

To start developing, clone the repository.

# clone the website
git clone https://gitpot.dev/ExploreCraft/website.git

Once you've cloned the repository you'll need to install the required dependencies, and then, start a development server:

# install dependencies (you can also use pnpm install or yarn)
npm install

# start vite development server
npm run dev

# or start the server and also open the website in a new browser tab
npm run dev -- --open

  VITE v4.3.9  ready in 358 ms

  ➜  Local:   http://127.0.0.1:5173/
  ➜  Network: use --host to expose
  ➜  press h to show help

This server will automatically apply changes you do to the code, so just start working and Vite will do the rest. No need to refresh!

Building

To build a production-ready version of this website:

# run build action
npm run build

You can also preview the production build (You'll need to build the website first if you haven't done so already):

# build the website
npm run build

# start a preview server
npm run preview