A personal CV app written in Python with Django.
- Until this notice is removed you need to replace static files, including favicons, webmanifest and profile picture yourself. The license does not cover usage of these files and all rights are reserved.
Instantly run a local instance of percvre
using podman
, docker
or any other container engine.
First, start the container.
docker run --rm -e PERCVRE_USE_SQLITE=True -e PERCVRE_ALLOWED_HOSTS=localhost -e PERCVRE_CSRF_TRUSTED_ORIGINS=http://localhost:8082 -v percvre-db:/app/src/persistent_db --name percvre-localhost -p 8082:80 ghcr.io/wolfskaempf/percvre:latest
Then, in a separate shell window you'll need to run database migrations to initialise the SQLite database and create an administrative account by running the following command.
docker exec -i -t percvre-localhost /bin/sh -c "python manage.py migrate && python manage.py createsuperuser"
Now you can access your local instance at http://localhost:8082/ and the administrative area at http://localhost:8082/admin/
If you have any feedback, do not hesitate to contact me or open an issue.
Caprover is a tool that turns your personal VPS into a Platform as a Service comparable to dokku or Heroku.
- Get started with Caprover on your VPS and your CLI
- Create a One-Click-Postgres app and remember the data you chose (app name, default database, user and password).
- Create a new app named anything you like in the Caprover interface. This tutorial will go with
percvre
for the app name. - Inside the
HTTP Settings
section of the new app enable HTTPS and selectForce HTTPS by redirecting all HTTP traffic to HTTPS
- Inside the
App Configs
section of the new app configure the app specific environment variables described in example.env
- Ensure you have added all environment variables that start with
PERCVRE
(do not copy thePOSTGRES
variables into theApp Configs
section of thepercvre
app) - Ensure the database connection information matches the database you created earlier
- The
PERCVRE_POSTGRES_HOST
can be found in the app overview of the database you created earlier - It should look something like this
srv-captain--percvre-db
wherepercvre-db
is the name you selected for your database - Ensure you include only the hostname and no protocol (such as https://) in
PERCVRE_POSTGRES_HOST
- The
- On your local machine run
git clone https://github.com/wolfskaempf/percvre.git && cd percvre
to clone this repository and change directory into it. - Run
npx caprover deploy
and select your server and the app you just created- If this command doesn't exist, make sure that you followed Step 3 of Getting Started with Caprover