Giter VIP home page Giter VIP logo

openraweb's Introduction

OpenRA Web

Uses the Nanoc static website generator. Build Status

Installation

Installing Ruby

Nanoc requires Ruby to run. Nanoc supports the official Ruby interpreter from version 2.3 up.

Ruby may already be installed on your system. To check, open a terminal window and type ruby -v. To install Ruby, follow the installation instructions on the Ruby website.

Installing Bundler

You need to run Nanoc with Bundler. To avoid permission errors1 it is recommended to use the --user install option when installing gems.

To install bundler, type gem install bundler --user install in a terminal to install Bundler to a directory inside your home directory. To use Bundler or any other gem installed to your ~/.gem directory, you need to add ~/.gem/ruby/version/bin to your PATH environment variable. If you use bash, add the following lines to your ~/.bashrc2:

# Ruby user installed gems
if which ruby >/dev/null && which gem >/dev/null; then
    PATH="$(ruby -r rubygems -e 'puts Gem.user_dir')/bin:$PATH"
fi

Installing nanoc

Open the repository directory and type bundle install --path vendor/bundle to install the local dependencies.

Development

Use bundle exec nanoc compile and bundle exec nanoc view to generate and host a static preview at localhost:3000. Changes will be automatically deployed to openra.github.io when a pull request is merged.

Stats

openraweb's People

Contributors

abcdefg30 avatar af avatar alberthaff avatar alzeih avatar anderson2927 avatar baxxster avatar chrisforbes avatar cjshmyr avatar fusion809 avatar graiondilach avatar hasufell avatar ihptru avatar kheiken avatar lawando avatar leamsifigs avatar lipkegu avatar mailaender avatar mustaphatr avatar netnazgul avatar obrakmann avatar ondronr avatar pavlos256 avatar pchote avatar penev92 avatar phrohdoh avatar reaperrr avatar resniksi avatar scottnz avatar unit158 avatar unrud avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openraweb's Issues

New mirrors from AOSC ( originally AnthonOS )

Hey guys,
I'm XIaoxing Ye, a member of AOSC.
Here, I want to tell you that we have added some more mirrors, which obviously, contain OpenRA.
List are here:

FIrst of all, our main server is already located in Taiwan, China. So almost all areas in the world should enjoy a fast speed.
http://(repo,mirror).anthonos.org

MaxCDN(it shuted down before due to hardware fault): http://mirror.oss.maxcdn.com/anthonos/openra/

NLUUG
http://ftp.nluug.nl/os/Linux/distr/anthon/
ftp://ftp.nluug.nl/pub/os/Linux/distr/anthon/

Tsukuba WIDE Public Mirror (Japan)
http://ftp.tsukuba.wide.ad.jp/Linux/anthon
rsync://ftp.tsukuba.wide.ad.jp/anthon .

Fastly
http://cdn.mirror.anthonos.org/openra/
(it is a CDN service, so any file update may delay.. and you can contact me to have it updated on fastly website.)

USTC, China
http://mirrors.ustc.edu.cn/anthon/openra/

Also, Please remove
http://ftp.ubuntu-tw.org/mirror/anthonos/
for it has merged into repo.anthonos.org.

And please update all 6 files ( OpenRAWeb / content / packages ) for all mirrors do provide them.

GeoIP for games

Similiar to what we already have in the client. Maybe with little country flags.

Use HHVM instead of vanilla PHP

Hello.

I suggest to use HHVM instead of vanilla PHP. It really gives acceleration in ~5 times in a lot of tasks. I'm using it in production, already.

Why now? Because it's need to know how to write the code (for HHVM or for vanilla PHP).

Facebook and Twitter links

I think Facebook and Twitter buttons should be featured somewhere on the website.

Even if many of us don't use facebook or twitter, most people nowadays like these social websites (and probably OpenRA fans/players).

For the logos, these SVG images could be used:
facebook: http://commons.wikimedia.org/wiki/File:Facebook_Logo_Mini.svg
twitter: http://commons.wikimedia.org/wiki/File:Twitter_Logo_Mini.svg

Their license are "Creative Commons CC0 1.0 Universal Public Domain Dedication". :-)

Promote resource.openra.net

I think the upcoming content site : http://resource.openra.net will need some promotion.

It could be interesting (to promote it when it will be finished), to add a new paragraph in http://openra.res0l.net/community/ about this new content site (with a short description of what the site is, why uploading maps there, etc..).

It's a bit sad to notice that even http://content.open-ra.org/ doesn't currently appear anywhere on http://openra.res0l.net/ . I think http://openra.res0l.net/community/ would be a good place to add a paragraph about it.

HTTPS or PGP-signatures

Sorry for my paranoia, but…

It's very unpleasantly to download programs without any signatures over plain HTTP (e.g. [1], [2], [3]). High probability of MitM-attack.

[1] http://openra.res0l.net/assets/downloads/linux/deb/openra_release.20130915_all.deb
[2] http://openra.res0l.net/assets/downloads/source/release-20130915.tar.gz
[3] http://www.desura.com/gamedownloads/get/5992/0bbedeb666c77689b2ac9242369fd10c/fbead13203717c7634603cfd8eb2636d

Is it possible to provide signatures of every package to authenticate maintainer or even though provide SSL/TLS for HTTP with valid certificate to authenticate openra.res0l.net?

Make rotating screenshots larger

The screenshots on the main page are tiny! They are actually 500x300 but scaled down.

Here's how it would look with larger screenshots and a new header font:
oraweb

Add package repo links to the download page

We have packages in the official repositories of more than one linux distro. The blurb for each of these platforms should be updated with the commands required for installation.

The blurb should include a notice that these are maintained by a third party and may be out of date (desura too) - see #18 for more discussion.

Add an About page

It can give a short history of the project and outline the main philosophical and gameplay differences from the original game (with screenshots and/or videos as applicable).

Some points to include:

  • By fans, for fans.
  • Natively cross-platform.
  • OpenRA != Open Red Alert - not a 1:1 recreation.
  • Designed to be modder friendly.
  • Brings improvements from later games back to the originals (tech structures, queuing multiple actors / build queues, etc).

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

maxcdn mirror is unreachable

paul@Mjolnir:~$ wget http://mirror.oss.maxcdn.com/anthonos/openra/cnc-packages.zip
--2014-06-04 18:33:37--  http://mirror.oss.maxcdn.com/anthonos/openra/cnc-packages.zip
Resolving mirror.oss.maxcdn.com... 50.7.230.130
Connecting to mirror.oss.maxcdn.com|50.7.230.130|:80... failed: Operation timed out.

IRC + Forum links are hidden

I can imagine a lot of users just want to join IRC chan fast, or post some stuff on the forum without searching for the link. And since we want the community to grow this would help.

I suggest: On the "get-involved" page, under "Getting in Touch", buttons would help. Like those very nice looking OS bottons in the download section. Bottons for IRC, the Forum, etc. can help to identify the links. Or (maybe) even make it like on the old page. Forum link in the top frame besides "get-involved".

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Display SHA1 sum for downloadable packages.

Suggested by erlehmann from IRC:

From 619e17898fc73f8293fe08921c9160705681e46f Mon Sep 17 00:00:00 2001
From: Nils Dagsson Moskopp <[email protected]>
Date: Thu, 8 Jan 2015 18:47:44 +0100
Subject: [PATCH] + SHA1 checksums for download page

---
 lib/openra.rb | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/lib/openra.rb b/lib/openra.rb
index 5740892..aaa5717 100644
--- a/lib/openra.rb
+++ b/lib/openra.rb
@@ -44,17 +44,26 @@ def package_name(platform, tag)
     end
 end

+def generate_url_sha1sum(url)
+  require 'digest'
+  require 'net/http'
+  response = Net::HTTP.get(URI.parse(url))
+  Digest::SHA1.hexdigest response
+end
+
 def generate_download_button(platform, github_id, tag, sizes)
   if github_id == "" then
     "<span>No playtest available<br />(release is newer)</span>"
   elsif platform == "source"
     url = DOWNLOAD_GITHUB_BASE_PATH + "archive/#{tag}.tar.gz"
-    sprintf('<a href="%s" title=\"Download %s">Download %s<br />(source package)</a>', url, tag, tag)
+    sha1sum = generate_url_sha1sum url
+    sprintf('<a href="%s" title=\"Download %s">Download %s<br />(source package)<br />SHA1: %s</a>', url, tag, tag, sha1sum)
   else
     package = package_name(platform, tag)
     url = DOWNLOAD_GITHUB_BASE_PATH + "releases/download/" + tag + '/' + package
+    sha1sum = generate_url_sha1sum url
     size = sizes.key?(package) ? sprintf("(%.2f MB)", sizes[package] / 1048576.0) : "(size unknown)"
-    sprintf('<a href="%s" title="Download %s">Download %s<br />%s</a>', url, tag, tag, size)
+    sprintf('<a href="%s" title="Download %s">Download %s<br />%s<br />SHA1: %s</a>', url, tag, tag, size, sha1sum)
   end
 end

--
2.1.3

Make Download Button for homepage

Original used an image for the download button for the detected platform page. Either need an image or use css for a button like thing

B button Crash (cnc)

Anytime!
Anywhere
Push B and Crash.

Exception of type System.InvalidOperationException: Cursor does not have a sequence powerdown-blocked
at OpenRA.Graphics.CursorProvider.GetCursorSequence(String cursor)
at OpenRA.Graphics.Viewport.DrawRegions(WorldRenderer wr, IInputHandler inputHandler)
at OpenRA.Game.Tick(OrderManager orderManager, Viewport viewPort)
at OpenRA.Game.Run()
at OpenRA.Program.Run(String[] args)
at OpenRA.Program.Main(String[] args)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.