Skip to content

Commit

Permalink
docs reorganization
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger committed Aug 26, 2022
1 parent 55f3849 commit 466ecf2
Show file tree
Hide file tree
Showing 29 changed files with 242 additions and 153 deletions.
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Changelog

All notable changes to this project will be documented in this file.

<!--attr-start-->

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

<!--attr-end-->

<!--
Using the following categories, list your changes in this order:
- "Added" for new features.
- "Changed" for changes in existing functionality.
- "Deprecated" for soon-to-be removed features.
- "Removed" for now removed features.
- "Fixed" for any bug fixes.
- "Security" in case of vulnerabilities.
-->

<!--changelog-start-->

## [Unreleased]

- Nothing (Yet)

## [0.100.0] - 2021-08-18

### Added

- App store support

[unreleased]: https://github.com/Archmonger/Conreq/compare/0.100.0...HEAD
[0.100.0]: https://github.com/Archmonger/Conreq/releases/tag/0.100.0
42 changes: 0 additions & 42 deletions docs/configure/env_vars.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/configure/webserver.md

This file was deleted.

37 changes: 0 additions & 37 deletions docs/develop/run_conreq.md

This file was deleted.

9 changes: 9 additions & 0 deletions docs/includes/requirements.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!-- conreq -->

- Install [Python 3.9+](https://www.python.org/downloads/)
- Make sure to select "Add Python 3.x to PATH" during installation.
- Easiest if this is the only version of Python on your computer
- Install [Visual Studio C++](https://visualstudio.microsoft.com/visual-cpp-build-tools/) and make sure to select navigate to _C++ Build Tools -> MSVC_ and _C++ Build Tools -> Windows 10 SDK_)
- Install a code editor. We recommend [Visual Studio Code](https://code.visualstudio.com/).

<!-- conreq-end -->
File renamed without changes.
13 changes: 0 additions & 13 deletions docs/index.md

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
This guide is intended to help developers gain an understanding of how Conreq was developed.
This guide is intended to help individuals gain an understanding of how Conreq was developed.

---

## Repository File Structure

| Path | Description |
| --------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `manage.py` | Django development tool _(runs the development web server, initialize the databases, [and more.](https://docs.djangoproject.com/en/3.1/ref/django-admin/)_ |
| `misc/` | Branding, legal documents, and other miscellaneous files |
| `conreq/` | Main Django application |
| `conreq/core/` | All back-end functionality |
| `conreq/static/` | CSS, JavaScript, and Image files |
| `conreq/utils/` | Generic functions that may be helpful to use |
| `conreq/settings.py` | Boot-time configuration and settings |
| `conreq/urls.py` | HTTP URLs |
| `conreq/asgi.py` | Websocket URLs |
| `conreq/core/websockets/consumers.py` | Back-end Websockets |
| `conreq/static/js/client_websockets.js` | Front-end websockets |
| Path | Description |
| --- | --- |
| `manage.py` | Django development tool _(runs the development web server, initialize the databases, [and more.](https://docs.djangoproject.com/en/3.1/ref/django-admin/)_ |
| `misc/` | Branding, legal documents, and other miscellaneous files |
| `conreq/` | Main Django application |
| `conreq/core/` | All back-end functionality |
| `conreq/static/` | CSS, JavaScript, and Image files |
| `conreq/utils/` | Generic functions that may be helpful to use |
| `conreq/settings.py` | Boot-time configuration and settings |
| `conreq/urls.py` | HTTP URLs |
| `conreq/asgi.py` | Websocket URLs |
| `conreq/core/websockets/consumers.py` | Back-end Websockets |
| `conreq/static/js/client_websockets.js` | Front-end websockets |

---

Expand Down
File renamed without changes.
File renamed without changes.
Empty file.
1 change: 1 addition & 0 deletions docs/src/developers/setup/requirements.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{% include-markdown "../../../includes/requirements.md" start="<!-- conreq -->" end="<!-- conreq-end -->" trailing-newlines=false %}
28 changes: 28 additions & 0 deletions docs/src/developers/setup/run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
???+ summary

There are two environments Conreq can exist in: [Development](#creating-a-development-environment) and [Production](#creating-a-production-environment).

If you intend to edit Conreq's code, then proceed with the Development instructions.

??? info "Special instruction for Windows users"

Windows users will need to type `set-executionpolicy remotesigned` in terminal and select Yes to All to allow external Python scripts to run on your computer.

You will need to follow the steps below in order to create and run Conreq from source code.

1. Pull the repository from GitHub.
2. Open a terminal (ex. Command Prompt) as administrator at the root of the repository.
3. Type `python -m venv .venv` to create a Python virtual environment called ".venv".
4. Type `./.venv/Scripts/activate` to enter the virtual environment.
- The method of doing this may vary based on operating system.
5. Type `pip install -r requirements.txt` to install all Python dependencies within the virtual environment.
6. Set your `DEBUG` environment variable to `true`.
- This can either be done within system variables, or within Conreq's `settings.env` file.
- Doing this disables _a lot_ of **security features**.
7. Type `python manage.py run_conreq` to run the development webserver.

??? question "How do I convert this to a Production environment?"

Follow all instructions laid out within [Creating a Development Environment](#creating-a-development-environment), however, set your `DEBUG` environment variable to `false`.

Then, Conreq will boot in production mode the next time you use `python manage.py run_conreq`.
17 changes: 17 additions & 0 deletions docs/src/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
hide:
- navigation
- toc
---

## Welcome to the Conreq Documentation

Conreq is an extensible web app platform built around [Django](https://www.djangoproject.com/). Read through the docs to learn how to set up Conreq, or how to contribute to the Conreq repository!

Want to join the community or have a question? Chat with us on [Discord](https://discord.gg/gQhGZzEjmX) or create a post on [GitHub Discussions](https://github.com/Archmonger/Conreq/discussions)!

---

## Communities

[:fontawesome-brands-discord: Discord](https://discord.gg/gQhGZzEjmX){ .md-button .md-button--primary } [:fontawesome-brands-reddit: Reddit](https://www.reddit.com/r/conreq/){ .md-button .md-button--primary } [:fontawesome-brands-github: GitHub Discussions](https://github.com/Archmonger/Conreq/discussions){ .md-button .md-button--primary }
File renamed without changes.
13 changes: 13 additions & 0 deletions docs/src/install/unraid.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
???+ Summary

Conreq can be installed via Unraid Community Applications on Unraid.

---

1. Install the [Unraid Community Applications](https://forums.unraid.net/topic/38582-plug-in-community-applications/) plugin
2. Within Unraid's GUI, navigate to the `Apps` tab
3. Search for `Conreq`
4. Click install on the docker image from either `selfhosters` or `hotio`.
- Both dockers are maintained by trusted community members. An officially supported docker may come in the future.

!!! tip "Unraid is Conreq Team's suggested operating system for deployment."
Loading

0 comments on commit 466ecf2

Please sign in to comment.