mirror of
https://github.com/jessebot/tiny_personal_website.git
synced 2025-10-01 01:48:43 +00:00
adding better formatting for smaller screen widths
This commit is contained in:
parent
05d85ce790
commit
0684500498
1 changed files with 4 additions and 8 deletions
12
README.md
12
README.md
|
@ -17,17 +17,17 @@ Feel free to take anything you need :) But keep it open source.
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
Clone this github repo into your desired webroot, and install dependencies:
|
Clone this github repo into your desired webroot, and install dependencies:
|
||||||
|
|
||||||
`pip3.10 install -r requirements.txt`
|
`pip3.10 install -r requirements.txt`
|
||||||
|
|
||||||
You can configure everything (e.g. website title, your photo, quote, etc)
|
You can configure everything (e.g. website title, your photo, quote, etc)
|
||||||
by editing `config.yaml` and replacing all the Jesse data with your own.
|
by editing `config.yaml` and replacing all the Jesse data with your own.
|
||||||
|
|
||||||
All changes to HTML, CSS, and Python, or your core YAML will require a
|
For testing locally with gunicorn, _without_ a docker rebuild, you can just do:
|
||||||
restart of gunicorn or a rebuild of the docker container.
|
|
||||||
|
|
||||||
### Testing
|
`gunicorn app:app`
|
||||||
|
|
||||||
For docker, you can just do:
|
For testing with docker locally, you can do:
|
||||||
```bash
|
```bash
|
||||||
docker build . -t <name of tag you want>
|
docker build . -t <name of tag you want>
|
||||||
|
|
||||||
|
@ -36,10 +36,6 @@ For docker, you can just do:
|
||||||
docker run --rm -p 8000:8080 <name of the tag you used>
|
docker run --rm -p 8000:8080 <name of the tag you used>
|
||||||
```
|
```
|
||||||
|
|
||||||
For testing locally with gunicorn, _without_ a docker rebuild:
|
|
||||||
```bash
|
|
||||||
gunicorn app:app
|
|
||||||
```
|
|
||||||
|
|
||||||
Then you can go to http://127.0.0.1:8000 in a browser to view your changes.
|
Then you can go to http://127.0.0.1:8000 in a browser to view your changes.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue