From Fedora Project Wiki
(added websites banner template)
 
 
(7 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{header|websites}}
{{header|websites}}
== Show us ==
== Show us ==
Think you can do better then what we have on our websites?  Prove it!  We love suggestions and mockups, they get us thinking about our sites and every suggestion will make our site a little better.
Think you can do better than we have on our websites?  Prove it!  We love suggestions and mockups, they get us thinking about our sites and every suggestion will make our site a little better.


== Get Started ==
== Get Started ==


Here's the easiest way for someone not on the web team to make a better page and show it to us.
Here's the easiest way for someone not on the web team to make a better page and show it to us (not as root account).


<pre>
<pre>
yum -y install git-core gettext python-genshi python-setuptools babel python-feedparser
sudo dnf -y install git gettext python-genshi python-setuptools python-dateutil python-dogpile-cache babel python-feedparser
git clone git://git.fedorahosted.org/git/fedora-web.git
sudo dnf -y groups install "Web Server"
cd fedora-web/fedoraproject.org
git clone https://pagure.io/fedora-websites.git
cd fedora-websites/getfedora.org
make
make
</pre>
</pre>
Line 29: Line 30:
make stoptest
make stoptest
</pre>
</pre>
= Pushing to the Repo =
Later on, when you gain commit access, you'll need to change your remote URL to enable pushing. Run:
git remote set-url origin ssh://username@pagure.io/fedora-websites.git
Where:
* '''username''' is your Fedora Account System username
[[Category:Websites]]

Latest revision as of 19:18, 7 April 2016

Show us

Think you can do better than we have on our websites? Prove it! We love suggestions and mockups, they get us thinking about our sites and every suggestion will make our site a little better.

Get Started

Here's the easiest way for someone not on the web team to make a better page and show it to us (not as root account).

sudo dnf -y install git gettext python-genshi python-setuptools python-dateutil python-dogpile-cache babel python-feedparser
sudo dnf -y groups install "Web Server"
git clone https://pagure.io/fedora-websites.git
cd fedora-websites/getfedora.org
make

After the make completes successfully and the website will now be available in your /out/ directory. We're in the process of moving the rest of our websites to this setup. When you have changes ready post them somewhere! Your fedorapeople.org storage site is a PERFECT place to put your git changes, and it allows us to easily pull them in. If you don't have a fedorapeople.org account, you'll need to post your changes somewhere and let us know.

Getting a Local Test Instance

When setting up a local test instance, some specific apache configuration is necessary to serve translations properly. If you have httpd installed, you can automatically bring up a test instance at http://localhost:5000/ with:

make test

To stop the test instance afterwards, run:

make stoptest

Pushing to the Repo

Later on, when you gain commit access, you'll need to change your remote URL to enable pushing. Run:

git remote set-url origin ssh://username@pagure.io/fedora-websites.git

Where:

  • username is your Fedora Account System username