Git Product home page Git Product logo

theempire's Introduction

TheEmpire

Initial Setup

  1. Install Node.js v6.9.4

  2. Clone the repo

  $ git clone https://github.com/ZakMiller/TheEmpire.git
  1. Install dependencies
  $ npm install
  $ npm install -g gulp
  1. Get Visual Studio Code Extensions ESLint and beautify.

  2. Add these to the VSCode settings.json file:

{
    "editor.tabSize": 2,
    "editor.renderWhitespace": "all",
    "editor.formatOnSave": true,
    "eslint.enable": true,
    "eslint.run": "onSave",
    "eslint.autoFixOnSave": true
}

Running tasks

note: if any of these don't work, make sure you have gulp installed globally:

  $ npm install -g gulp

Build scripts, start server, and automatically build and restart on changes:

  $ gulp

Basically, this will

  • restart the server whenever either server.js or any of the backend JavaScript files are saved, and
  • build the front end scripts whenever they are saved

note: Make sure to refresh your browser page in order to see frontend changes.

Our build flow is

  • public/scripts/*.js --> Babel (ES6 -> ES5) --> Browserify (bundles scripts) --> public/bundle.js

Build scripts:

  $ gulp build

Debugging Errors

If you run into any errors when trying to start the application, consult the following checklist:

  1. make sure you're up to date with the current master
  $ git pull origin master
  1. make sure you have all the dependencies
  $ npm install

theempire's People

Contributors

sylvansign avatar zakmiller avatar nmatkins avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar

theempire's Issues

Validate sentences/words

  • check sentence length
  • style errors (duplicate words) differently (maybe red?)
  • mark used random words and maybe change their style too

visual checklist of requirements for a sentence

I have one for the sentence length, but it might be kind of cool to have some sort of hud element that gives you a dynamically updating checklist (sentence length, no errors, enough keywords for the AI).

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.