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:latestThen, 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
percvrefor the app name. - Inside the
HTTP Settingssection of the new app enable HTTPS and selectForce HTTPS by redirecting all HTTP traffic to HTTPS - Inside the
App Configssection 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 thePOSTGRESvariables into theApp Configssection of thepercvreapp) - Ensure the database connection information matches the database you created earlier
- The
PERCVRE_POSTGRES_HOSTcan be found in the app overview of the database you created earlier - It should look something like this
srv-captain--percvre-dbwherepercvre-dbis 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 percvreto clone this repository and change directory into it. - Run
npx caprover deployand 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