Skip to content

Commit a79ada7

Browse files
authored
Merge pull request #10 from lstein/documentation/readme-tweaks
Documentation tweaks to make it easier for users to find the source code download link.
2 parents a8cfadf + 826a253 commit a79ada7

4 files changed

Lines changed: 34 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ jobs:
4242
- name: Create GitHub Release
4343
uses: softprops/action-gh-release@v2
4444
with:
45-
tag_name: v${{ steps.get_version.outputs.version }}
45+
tag_name: ${{ steps.get_version.outputs.version }}
46+
generate_release_notes: true
4647
env:
4748
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4849

README.md

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Here are quick start instructions for Windows, Mac and Linux users using the aut
5858

5959
#### 1. Download and unpack the source code
6060

61-
Download the PhotoMap source code as a .zip file from the latest stable Releases page. For development versions, use the "Download ZIP" link in the green "Code" button near the top of the GitHub PhotoMap home page.
61+
Download the PhotoMap source code as a .zip file from the latest stable [Releases page](https://github.com/lstein/PhotoMapAI/releases). For development versions, use the "Download ZIP" link in the green "Code" button near the top of the GitHub PhotoMap home page.
6262

6363
Choose a convenient location in your home folder and unzip the file to create a new folder named `PhotoMap`.
6464

@@ -80,7 +80,7 @@ Double-click `start_photomap.bat` to launch the server. You should see a few sta
8080

8181
#### 1. Download and unpack the source code
8282

83-
Download the PhotoMap source code as a .zip file from the latest stable Releases page. For development versions, use the "Download ZIP" link in the green "Code" button near the top of the GitHub PhotoMap home page.
83+
Download the PhotoMap source code as a .zip file from the latest stable [Releases page](https://github.com/lstein/PhotoMapAI/releases). For development versions, use the "Download ZIP" link in the green "Code" button near the top of the GitHub PhotoMap home page.
8484

8585
Choose a convenient location in your home directory and unzip the file to create a new folder named `PhotoMap`.
8686

@@ -95,6 +95,35 @@ Double click `start_photomap` to launch the server. You will see a few startup m
9595
#### 4. **Open your browser:**
9696
Navigate to `http://localhost:8050` and follow the prompts to create and populate your first album.
9797

98+
99+
### Manual Install
100+
101+
Follow these instructions if you are comfortable with installing Python packages on the command line.
102+
103+
#### Mac/Linux
104+
105+
Make sure that your version of Python is between 3.10 and 3.12. Not all required libraries are available in 3.13.
106+
107+
python3 -m venv ~/photomap --prompt photomap
108+
source ~/photomap/bin/activate
109+
python3 -m pip install --upgrade pip
110+
pip install photomapai
111+
start_photomap
112+
113+
Then open your web browser and point it to [http://127.0.0.1:8050](http://128.0.0.1:8050). Follow the prompts to create your first album.
114+
115+
#### Windows
116+
117+
Make sure that your version of Python is between 3.10 and 3.12. Not all required libraries are available in 3.13. Also make sure that Python is on your PATH.
118+
119+
python3 -m venv C:\Users\<your name>\Documents\photomap --prompt photomap
120+
C:\Users\<your name>\Documents\photomap\Scripts\activate
121+
python3 -m pip install --upgrade pip
122+
pip install photomapai
123+
start_photomap
124+
125+
Then open your web browser and point it to [http://127.0.0.1:8050](http://128.0.0.1:8050). Follow the prompts to create your first album.
126+
98127
## Detailed Guides
99128
- [Installation](https://lstein.github.io/PhotoMapAI/installation/)
100129
- [User Guide](https://lstein.github.io/PhotoMapAI/user-guide/basic-usage/)

docs/img/photomap-social.png

384 KB
Loading

photomap/backend/photomap_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def main():
120120

121121
config = get_config_manager()
122122
logger.info(
123-
f"Starting PhotoMap server with backend root: {repo_root} and configuration file {config.config_path}"
123+
f"Starting PhotoMapAI server on port {port} with backend root `{repo_root}` and configuration file `{config.config_path}`"
124124
)
125125

126126
uvicorn.run(

0 commit comments

Comments
 (0)