https://github.com/everlag/preordain-client
The full client that sits at https://preorda.in
https://github.com/everlag/preordain-client
deprecated magic-the-gathering polymer
Last synced: 8 months ago
JSON representation
The full client that sits at https://preorda.in
- Host: GitHub
- URL: https://github.com/everlag/preordain-client
- Owner: Everlag
- License: other
- Created: 2015-10-18T02:17:45.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-09T05:20:50.000Z (about 10 years ago)
- Last Synced: 2025-01-02T09:44:14.192Z (over 1 year ago)
- Topics: deprecated, magic-the-gathering, polymer
- Language: JavaScript
- Size: 622 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## [preorda.in Client](https://preorda.in)
* [Polymer](http://polymer-project.org), [Paper](https://elements.polymer-project.org/browse?package=paper-elements) and [Iron](https://elements.polymer-project.org/browse?package=iron-elements) elements
* [Material Design](http://www.google.com/design/spec/material-design/introduction.html) layout
* Routing with [Page.js](https://visionmedia.github.io/page.js/)
### Install dependencies
#### Quick-start
With Node.js installed, run the following one liner from the root of the client:
```sh
npm install -g gulp bower && npm install && bower install
```
### Development workflow
#### Serve / watch
```sh
gulp serve
```
This outputs an IP address you can use to locally test and another that can be used on devices connected to your network. This runs over https so you will get a certificate error, that's normal.
Babel will fail to work correctly so you have to refresh manually every time js is changed. It's a hassle, I need to sink more time into fixing it.
```sh
gulp serve:dist
```
Build and optimize the client as it would be for a full production run; serve the result as gulp serve does. No files are watched due to the low speed of this pipeline.
#### Build & Vulcanize
```sh
gulp
```
Build and optimize the current project, ready for deployment. This includes linting as well as vulcanization, image, script, stylesheet and HTML optimization and minification.
## Backend targeting
The backend is designed to match the api and data directories provided by beta.perfectlag.me. In theory, retargeting to a new backend that exposes a similar api would be doable.
## Dependency Management
preorda.in uses [Bower](http://bower.io) for package management. Life is a lot easier when you can have sane dependencies.
## Attribution
[Polymer Starter Kit](https://github.com/PolymerElements/polymer-starter-kit) is the base for this project. It provides sane defaults and examples of polymer. Yes, this readme is the hollowed out remains of the Starter Kit readme.