Skip to content

Commit 384a153

Browse files
committed
Release backend
1 parent 51bb418 commit 384a153

File tree

392 files changed

+109218
-1207
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

392 files changed

+109218
-1207
lines changed

.is_puter_repository

Whitespace-only changes.

CONTRIBUTING.md

+6
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ We maintain a list of issues that are good for first-time contributors. You can
5151

5252
<br>
5353

54+
## Documentation for Contributors
55+
56+
See [doc/contributors/index.md](./doc/contributors/index.md) for more information.
57+
58+
<br>
59+
5460
## Code Review
5561

5662
Once you've submitted your pull request, the project maintainers will review your changes. We may suggest some changes or improvements. This is a normal part of the process, and your contributions are greatly appreciated!

README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,8 @@ docker compose up
5252

5353
<br/>
5454

55-
## Deploy to Production
56-
57-
Detailed guide on how to deploy Puter in production: [docs/prod.md](docs/prod.md)
55+
## ⚠️ Self-Hosting ⚠️
56+
The self-hosted version of Puter is currently in alpha stage and should not be used in production yet. It is under active development and may contain bugs, other issues. Please exercise caution and use it for testing and evaluation purposes only.
5857

5958
<br/>
6059

doc/contributors/index.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Contributing to Puter
2+
3+
## Essential / General Knowledge
4+
5+
### Repository Dichotomy
6+
7+
- Puter's GUI is at the root; `/src` is the GUI
8+
- Puter's backend is a workspace npm package;
9+
it resides in `packages/backend(/src)`
10+
11+
The above may seem counter-intuitive; backend and frontend are siblings, right?
12+
Consider this: by a different intuition, the backend is at a "deeper" level
13+
of function; this directory structure better adheres to soon-to-be contributors
14+
sifting around through the files to discover "what's what".
15+
16+
The directory `volatile` exists _for your convenience_ to simplify running
17+
Puter for development. When Puter is run
18+
run with the backend with this repository as its working directory, it
19+
will use `volatile/config` and `volatile/runtime` instead of
20+
`/etc/puter` and `/var/puter`.
21+
22+
## See Next
23+
24+
- [Backend Documentation](../../packages/backend/doc/contributors/index.md)
25+
<!-- - [Frontend Documentation](./frontend.md) -->

doc/license_header.txt

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Copyright (C) 2024 Puter Technologies Inc.
2+
3+
This file is part of Puter.
4+
5+
Puter is free software: you can redistribute it and/or modify
6+
it under the terms of the GNU Affero General Public License as published
7+
by the Free Software Foundation, either version 3 of the License, or
8+
(at your option) any later version.
9+
10+
This program is distributed in the hope that it will be useful,
11+
but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
GNU Affero General Public License for more details.
14+
15+
You should have received a copy of the GNU Affero General Public License
16+
along with this program. If not, see <https://www.gnu.org/licenses/>.

docs/prod.md doc/prod.md

File renamed without changes.

exports.js

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import backend from '@heyputer/backend';
2+
export default backend;

l_checker_config.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"ignore": ["**/!(*.js|*.css)", "**/assets/**"],
3+
"license": "doc/license_header.txt",
4+
"licenseFormats": {
5+
"js": {
6+
"prepend": "/*",
7+
"append": " */",
8+
"eachLine": {
9+
"prepend": " * "
10+
}
11+
},
12+
"dotfile|^Dockerfile": {
13+
"eachLine": {
14+
"prepend": "# "
15+
}
16+
},
17+
"css": {
18+
"prepend": "/*",
19+
"append": " */",
20+
"eachLine": {
21+
"prepend": " * "
22+
}
23+
}
24+
},
25+
"trailingWhitespace": "TRIM"
26+
}

0 commit comments

Comments
 (0)