made source code public

This commit is contained in:
Dibyashanu Pati 2025-03-02 14:40:08 +05:30
parent 0232b09c81
commit 057568f42c
4 changed files with 10 additions and 42 deletions

View file

@ -1,47 +1,13 @@
# cosmicpirates.space
This is the source code of the cosmicflow website
## Quickstart
Currently in the cosmicflow.space source can ge accessed on our private [Gitea](https://about.gitea.com/) server.
### Step 1 : SSH into the cosmicpirates server with forward tunnel of port 3000 to your local port 3000
ssh into the server and forward the port on which Gitea is running(in our case port 3000) into our local port 3000
## How it works
There is a main script called [](./create.sh) just cd into the cloned repository, and run it, this runs all other scripts and generates the static stite in the [](./public) directory.
Ofcourse do not expect it to work as is. There are many things which have to be configured according to your needs, the purpose of this is to serve as template for you to build your sites, not to be used as is.
``` console
ssh -L 3000:localhost:3000 fluid@cosmicflow.space
```
### Step 2: Open Gitea on your Browser
Open http://localhost:3000/ in your browser
Create an account if nessasary(Not required if you just want to view but required if you want to push to a repo).
You should be able to see this project repository at http://localhost:3000/dibyashanu/cosmicpirates.space
### Step 3: Clone the repo
Make a local copy of this repo
```console
git clone http://localhost:3000/dibyashanu/cosmicpirates.space.git
cd cosmicflow
./create.sh
```
Go to the repo directory
```console
cd cosmicpirates.space.
```
Set a username and email - this will be used to track the changes you make to this repository
```console
git config user.name "Your Name Here"
git config user.email "your@email.com"
```
Set the origin to the required location
```console
git remote add origin http://localhost:3000/dibyashanu/cosmicpirates.space.git
```
### Step 4: Make changes to the local version of the repository
Most of the time try only to make changes to the [main.org](./main.org) and generate all other content by either running scripts in this file or runing org-babel-tangle(C-c C-v t in doom emacs).
For more details see [main.org](./main.org)
### Step 5: Push Your changes to this repository
```console
$ git push -u origin main
```

View file

@ -8,6 +8,9 @@
: +--------------------------------------+
#+end_center
* [[https://cosmicflow.space:3030/DibyashanuPati/cosmicflow][Source Code]] of this site is now available - [2025-03-02 Sun]
I hope it will be useful to someone and some point.
* Planted the seeds to my [[../exocortex/][Thought Garden]] - [2025-02-11 Tue]
I discovered [[https://quartz.jzhao.xyz/][Quartz]]

View file

@ -1 +0,0 @@
Coming Soon

View file

@ -93,7 +93,7 @@
" · "
(a (@ (href "/credits/")) "Credits")
" · "
(a (@ (href "/source_code/")) "Source Code")
(a (@ (href "https://cosmicflow.space:3030/DibyashanuPati/cosmicflow")) "Source Code")
;; " · "
;; (a (@ (rel "me") (href "https://fosstodon.org/@daviwil")) "Fediverse"))
(p "© 2024-2025 Dibyashanu Pati - Except where otherwise noted, this work is licensed under http://creativecommons.org/licenses/by/3.0/"