Skip to content
This repository was archived by the owner on Sep 25, 2018. It is now read-only.

dotmap/devise-ante

devise

Make great game documentation

Codacy Badge Known Vulnerabilities FOSSA Status Greenkeeper badge Commitizen friendly js-standard-style

Devise is a web application for making easily-searchable, presentable, modular game documentation.

Installing / Getting Started

Currently, there isn't a way to just install the app to use in production, but we'll get there (I promise!).

Developing

Contributing

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Built With

Devise relies on the following technologies:

  • Vue
  • Vuex
  • GraphQL/Graphcool
  • Apollo
  • AT-UI

Prerequisites

You'll need two things:

Setting up Dev

Here's a brief intro about what a developer must do in order to start developing the project further:

# Download the project
git clone https://github.com/multi-cell/devise.git
cd devise/

# Install dependencies with a package manager of your choice
npm install
# OR
yarn

That should be everything you need to get up and running for development.

Building

Building the application is pretty simple:

# Build and launch server for development
npm run dev

# Or, build for production
npm run build

Devise is built using webpack, and has different options for development and production.

Development

We use webpack-dev-server for hot-module replacement. While it's up and running, you also have access to the following cool tools:

Production

When building for production, we'll minify the code and such. It's not too special. You'll find the output in the dist directory.

Versioning

We use SemVer for versioning. Or, we will, when we get to that point.

Configuration

More info to come.

Tests

We rely mainly on integration testing to make sure things work properly, using Cypress. Check those docs when you need to write tests. Any written specs are run automatically during CI, and are fully recorded in order to review any issues that arise.

If you want to run tests, it's pretty simple.

# Build production version
npm run build
# Launch test server
npm run test:integration

This launches a script that instantiates a serve instance in the dist folder, runs the tests, then kills the server. This process will change with the introduction of a GraphQL server in the near future.

Style guide

JavaScript Style Guide

That badge really says it all. You don't really need to worry about running formatting or linting commands; when you stage files and make a commit, lint-staged will make sure to lint your files and format them using prettier-standard. But, if you must know:

# Lint JS files
npm run test:lint

# Format JS files in src/
npm run test:format

API Reference

The API for devise is found in another castle, which is still being built. Updates to come!

Database

Currently, the database that this project uses is provided by Graphcool. We'll have instructions in the near future.

Licensing

This project is licensed under the Apache 2.0 license, which you can check out in the LICENSE file.


FOSSA Status

About

Frontend for Devise.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors