forked from thomiceli/opengist
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create docker dev env (thomiceli#220)
- Loading branch information
Showing
6 changed files
with
82 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Run Opengist in development mode | ||
|
||
## With Docker | ||
|
||
Assuming you have [Make](https://linux.die.net/man/1/make) installed, | ||
|
||
```shell | ||
# Clone the repository | ||
git clone [email protected]:thomiceli/opengist.git | ||
cd opengist | ||
|
||
# Build the development image | ||
make build_dev_docker | ||
``` | ||
|
||
Now you can run the development image with the following command: | ||
|
||
```shell | ||
make run_dev_docker | ||
``` | ||
|
||
Opengist is now running on port 6157, you can browse http:https://localhost:6157 | ||
|
||
## As a binary | ||
|
||
Requirements: | ||
* [Git](https://git-scm.com/downloads) (2.28+) | ||
* [Go](https://go.dev/doc/install) (1.21+) | ||
* [Node.js](https://nodejs.org/en/download/) (16+) | ||
* [Make](https://linux.die.net/man/1/make) (optional, but easier) | ||
|
||
```shell | ||
git clone [email protected]:thomiceli/opengist.git | ||
cd opengist | ||
make watch | ||
``` | ||
|
||
Opengist is now running on port 6157, you can browse http:https://localhost:6157 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/bin/sh | ||
set -euo pipefail | ||
|
||
make watch_frontend & | ||
|