You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mwinter 206575f0ca manual manip of upcoming 2 months ago
nginx nginx change header for pdfs should now be working 1 year ago
portfolio adding handling for hdp in legacy site for works list 12 months ago
portfolio-nuxt manual manip of upcoming 2 months ago
.env_template fixed bug pointing to wrong mongodb after refactor and adding template config files 1 year ago
.gitignore slow transition to nuxt 1 year ago
LICENSE initial commit of completely upgraded stack 1 year ago
README.txt reconciling readme 1 year ago
docker-compose.yml trying to make starting autimatically work 11 months ago


# unboundedpress

Repo for my personal website.

If you have the keys to my castle, you should be able to archive the entire top level folder, move everything to another server and just deploy with:
docker-compose up -d

But that is being pretty optimistic.

In the docker-compose.yml file, there are detailed notes of non-automatic steps that need to be taken, especially for deploying from scratch.

Here are some useful tips.

The current server is running on ubuntu server 22.04/

# Running on docker. Here are some install tips.

# There are two .env files that are the same and go at the top level folder and again in portfolio/src. Templates are provided.

# Here is a list of the services
# Main components
porfolio - node server and frontend for my porfilio that uses mongo backend
mongo - houses the data of my portfolio
restheart - api to feed data from mongo to portfolio (though there are some end points built into the node app)
gitea - my code repository
mysql-gitea - databse for gitea
nginx-proxy - reverse proxy for everything
acme-companion - lets encrypt certificate manager

# Extra components

# Here are some useful tips for mongo
# dump and restore example:
mongodump --host localhost --port 27017 -d portfolio -o /db_backups/db_dump_2023_04_07 -u username -p password --authenticationDatabase admin
mongorestore --host localhost --port 27017 -d portfolio -u username -p password --authenticationDatabase admin /db_backups/db_dump_2023_04_07/unboundedpress
# here is an example of a file upload through restheart:
curl -v -u user:pass -X POST -F 'properties={"filename":"filename"}' -F "file=@filepath_here"