Skip to content

PaulRomerolegal/peercoin.net

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Peercoin.net Repo (has now moved to https://github.com/peercoin/peercoin.net) please submit any issues/pull requests there.

The static html files for Peercoin.net. The website is automatically updated from this repo every 10 minutes, so be careful with any commits to the master branch.

Issues

Content requests, bugs, etc. are all handled through Github Issues. We will try to get to your issue as soon as possible.

Pull Requests

If you have a simple change to the website, we ask that you put in a pull request instead of an issue. These include things like link changes, text errors, etc. We can add these to the live site just by accepting the pull, which makes everything easier. We are currently using Tip4Commit and Peer4Commit to reward commiters. Fluff commits will be rejected.

tip for next commit tip for next commit

If don't know how to submit a pull request use these helpful guides: one and two.

Translations

Changes to translations as well as new translations can be submitted to Peercoin.net's Transifex page.

Translations are periodically pulled from Transifex and merged into the git repository.

Important: We do not accept translation changes as GitHub pull requests because the next pull from Transifex would automatically overwrite them again.

Installing and Running

Below are just some notes for running the website yourself. We run the website on a simple Apache2 server with PHP5 installed.

Deploy

URL Rewriting via Apache's mod_rewrite module has issues when the MultiViews option is set in any of the config files in the sites-available directory. Ensure this option is removed from your site's config files or errors will occur with URL rewriting (/mining.php -> /mining)

We run the deploy.sh every 10 minutes, so that the live site is always up to date. The cron job is listed below:

*/10 * * * * /root/deploy.sh > /root/error.txt 2>&1

The script(deploy.sh):

#!/bin/bash

# Install - Only Run Once
# git clone https://github.com/super3/peercoin.net.git /var/www

# Update
cd /var/www/
git fetch origin
git reset --hard origin/master

About

Web files for Peercoin.net

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 47.7%
  • HTML 37.3%
  • CSS 14.0%
  • Other 1.0%