2.3 KiB
Ashwin's fluid.quest website
Requirements
- Python: 3.x, Pelican and other packages (see
requirements.txt
)
Simple installation
git clone --recursive https://codeberg.org/ashwinvis/website.git
## or a simple clone followed by
# git submodule update --init --recursive
cd website
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
make html serve
Development
Update requirements.txt
and launch development server
pip install -U pip-tools
pip-compile && pip-sync
make develop
Tip: To conveniently work with submodules:
git config submodule.recurse true
Optional: Set up remote repositories for manual deployment
git remote add downstream git@github.com:ashwinvis/website.git
git remote add deploy git@github.com:ashwinvis/ashwinvis.github.io
make github
Write content
Add the following script to ~/.profile
:
alias blog="/path/to/venv/bin/python -m pelican_ashwinvis.util.write"
which is a script encourage writing. See here for more details.
License
This repository contains copyrighted source code from a variety of sources. In each instance, the copyright holder has released that source code under some kind of license.
-
All text and media under
content
is distributed under a CC-BY license a copy of which is included in the file calledcontent/LICENSE
. -
pelican
's source code and the configuration files forpelican
is distributed under the terms of the GNU Affero General Public License, a copy of which is included in the file calledLICENSE
. -
m.css
is distributed under an MIT license, a copy of which is included in the file calledm.css/COPYING
. -
The PWA is distributed under an MIT license, a copy of which is included in the file called
content/extra/LICENSE
.
You should read the corresponding license carefully, as it defines your specific rights regarding the use of covered source code, as well as the conditions under which those rights are given to you.