#128 Add instructions on building locally
Merged 3 years ago by bcotton. Opened 3 years ago by appadeia.
fedora-web/ appadeia/websites master  into  master

file modified
+13
@@ -11,3 +11,16 @@ 

  Translations are handled by the Fedora [localization team](https://fedoraproject.org/wiki/L10N) on [Fedora Weblate](https://translate.stg.fedoraproject.org/projects/fedora-websites/).

  

  [![Translation status](https://translate.stg.fedoraproject.org/widgets/fedora-websites/-/287x66-white.png)](https://translate.stg.fedoraproject.org/engage/fedora-websites/?utm_source=widget)

+ 

+ ### Building Locally

+ 

+ Podman is the recommended way of building fedora-websites.

+ 

+ From the root of the repository, run the following commands to start a local server:

+ 

+ ```

+ podman build -t fedora-websites .

+ podman run -it --rm -v "$(pwd):/opt/:z" fedora-websites ./scripts/pull-translations.sh

+ podman run -it --rm -v "$(pwd):/opt/:z" fedora-websites python ./scripts/pull-magazine.py

+ podman run -it --rm -v "$(pwd):/opt/:z" fedora-websites python main.py

+ ```

I'll merge this for now, but in the longer term, we should consider putting this in the docs.

Metadata Update from @bcotton:
- Request assigned

3 years ago

Pull-Request has been merged by bcotton

3 years ago
Metadata