Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rhnvrm authored Apr 20, 2021
1 parent b11e4f8 commit 4ee8c09
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,17 @@ LinkPage is a FOSS self-hosted alternative to link listing websites such as Link
3. Run the app using `./linkpage --init`, this will generate an empty sqlite database and config file in your local directory.
4. Now you can run the app using `./linkpage`, goto the `/admin` page to add new entries.

### Using Docker

You can also use docker to run linkpage. Running the following command in
a directory will initialize the config file and database file for you.

`docker run -v app.db:/linkpage -p 8000:8000 rhnvrm/linkpage:latest ./linkpage --init`

After this, you can run the following command to start the app.

`docker run -v app.db:/linkpage -p 8000:8000 rhnvrm/linkpage:latest ./linkpage`

## Developer Setup

0. `git clone https://github.com/rhnvrm/linkpage.git`
Expand Down

0 comments on commit 4ee8c09

Please sign in to comment.