Giter Site home page Giter Site logo

alec-isaac / wiki Goto Github PK

View Code? Open in Web Editor NEW

This project forked from atlauncher/wiki

0.0 0.0 0.0 2.59 MB

Static wiki written with Markdown using Nextra and Next.js.

Home Page: https://wiki.atlauncher.com

License: MIT License

Shell 5.21% JavaScript 90.03% TypeScript 4.76%

wiki's Introduction

ATLauncher Wiki

Static wiki written with Markdown using Nextra and Next.js and hosted using Cloudflare Pages at https://wiki.atlauncher.com.

Development

To get setup you will need to make sure you have the following installed on your machine:

We'll assume you're a capable developer, so we won't tell you how to go about installing those on your machine :)

Next clone this repo to a directory and then run npm install to install all the dependencies needed to run the application.

Once installed you can run npm run dev to start the dev server. The server will be running at http://localhost:3000 and hot reload when any changes are made to files.

Building

To build this application ready for running in production simply run npm run build which will compile everything with Next.js into the .next/ directory.

Once built simply run npm run start which will start up the Next.js server with the built files. The server will be running at http://localhost:3000. You can optionally specify a PORT environment variable when running (PORT=5555 npm run start).

Adding/Editing Pages

Any .md or .mdx files hosted under the pages directory will automatically be turned into a page as well as be added to the sidebar.

All added pages should be added into the meta.json file of the directory it's in to ensure correct ordering and naming of any new pages.

Deployment

This repository is automatically set to deploy with Cloudflare Pages to https://wiki.atlauncher.com.

Cloudflare pages is only intended to run static sites, so adding in any sort of api routes with Next.js will not work as Cloudflare pages doesn't run the server, it instead runs next export to generate all the static pages upfront and just host them.

Contributing

If you wish to contribute, please see the CONTRIBUTING.md file in the root of this repository.

License

This code is licensed under the MIT license. For more details see the LICENSE file in the root of this repository.

wiki's People

Contributors

ryantheallmighty avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.