ProzillaOS/docs
2023-08-05 20:01:00 +02:00
..
configurations Updated docs 2023-08-03 18:24:21 +02:00
contributing Updated documentation + README.md 2023-07-23 13:30:15 +02:00
features Added storage feature 2023-08-05 20:01:00 +02:00
react Updated documentation + README.md 2023-07-23 13:30:15 +02:00
roadmap Updated documentation + README.md 2023-07-23 13:30:15 +02:00
README.md Updated deployment process 2023-07-23 17:50:12 +02:00

← Back

Documentation

Table of Contents

Overview

Quickstart

  1. Clone this repository.
  2. Run npm install.
  3. Run npm start and visit localhost:3000.

Development

  1. Run npm start and watch your changes live at localhost:3000.

Building & deploying

  1. Run npm run build, which will compile all the necessary files to the build directory.
  2. Upload the contents of the build directory to your web server's root folder.

Deploying to GitHub Pages

  1. Open deploy.sh and change DOMAIN to your domain, COMMIT_MESSAGE to your commit message and REPO_URL to the URL of your repo. Make sure you don't add or remove any quotes when editing these values.
  2. Run npm run deploy - This will create a new build by running the redeploy script, add a CNAME pointing to your domain and then push the build folder to a branch called gh-pages.
  3. Configure your GitHub Pages to deploy the gh-pages branch to your domain.

Structure

  • src directory

    Contains all code for the application, including CSS, JS and HTML files.

  • public directory

    Contains all static files like images, webfonts and vector graphics as well as the index.html file, which contains all metadata and contains all bundled scripts after the build step.

  • docs directory

    You are here. This directory contains all documentation for this project.

  • build directory

    Contains the static build files after building the application. This directory is not included in the GitHub repository.