3bb5b66b2f06af50fd9cce99edb97c2e7c2eec74
hello friends !
To Run the Website Locally
Prerequisites
- Node.js version 18.17.1 or higher (we recommend using NVM to manage Node versions)
- pnpm (optional but recommended)
Step 1: Install correct Node.js version
If you have NVM (Node Version Manager) installed:
nvm install 18.17.1
nvm use 18.17.1
Verify your Node.js version:
node -v
Step 2: Install dependencies
npm install
Step 3: Start the development server
npx astro dev
Tech Stack
- Astro - The core framework
- React - For interactive components
- Tailwind CSS - For styling (find docs here)
- TypeScript - For type safety
To release a new version
Build in the docker image (make sure you have Docker installed!)
version=<specify-version>
docker build --platform linux/amd64 -t git.coopcloud.tech/rtm/rtmwebsite:$version .
Push the image to gitea registery
Check out this documentation for how to login with gitea registery.
# If not in the same terminal session, rerun `version=...` line from last step
docker push git.coopcloud.tech/rtm/rtmwebsite:$version
Update recipe
We use a private recipe to deploy this website, you will need to update the version in the compose.yml file and redoploy. This step needs wireguard to be activated.
First update the version number in
.abra/servers/resisttechmonopolies.online/resisttechmonopolies.online.env
Then
abra app undeploy resisttechmonopolies.online
# wait 10 seconds
abra app deploy resisttechmonopolies.online
Description
Languages
TypeScript
55.4%
Astro
35%
JavaScript
4.8%
CSS
4.3%
Dockerfile
0.5%