GithubHelp home page GithubHelp logo

aurora's Introduction

Aurora ๐ŸŒŒ

Build Status Coverage Status

Aurora is a project in construction. Please come back later.

Setup and Running

To setup dependencies, just run the following in your terminal.

npm install

Then, you can launch the development version of application with

npm run dev

If you would like to test the app without having to open it, you can run:

npm run test

Dev Scripts

Aurora comes with a few tools that make developing it much nicer.

All scripts can be run with npm run <script_name_here>.

fmt

You can format with the default prettier formating with npm run fmt.

lint

You can check your code with our projects default ESLint rules with npm run lint. If you're new to Javascript or React, I would recommend running this frequently. I've put in some rules that catch potential errors that tend to sneak up on new webdevs.

If the linter is yelling at you, try running npm run lint-fix to let the linter fix some errors on its own.

test

You can test the application with npm run test which will run jest tests.

You also can have the tests running all the time with npm run test-watch which will run jest --watch, which sets up jest to automatically figure out which tests to run based on the files you're working with. It's super fast and a great way to immediately tell if you've broken anything.

plop (or code generation)

Plop is a code generation tool that you can use to setup a new package. If you run npm run plop you can then pick package, you can create a new module without having to actually create the files yourself. This saves a ton of time and helps with best practices.

You can learn more about plop here. You also can see the way we use plop in the plops folder.

Pull Requests and Forks

To submit code to this repo, it's probably best to submit a pull request. If you've never submitted one before, here's two guides.

You'll need to create a fork before you submit your first PR. You can do that by clicking the "fork" button at the top of the repo on Github. That will create a copy of the repo on YOUR github account. So for example, Flaque's fork is at https://github.com/flaque/aurora instead of /tundra-code/aurora. You should clone the fork, NOT the repo.

Once you have cloned the fork, you should setup an upstream branch on your local git repo like so:

$ git remote add upstream https://github.com/tundra-code/aurora.git

Then, when you want to pull changes from the /tundra-code/aurora repo, you can run:

$ git pull upstream master

You can then when push whatever you want to your fork. When you're ready to merge that code into the main project, you can go to your fork and submit a PR to the original branch.

When you submit your pull request (PR), travis, our build system will run the tests and linter against your code and either approve or reject your code. If all goes well, you should generally ask for a code review before merging your PR. In your PR, there will be a little bar on the right that will give you suggestions on who you should ask for a code review.

aurora's People

Contributors

flaque avatar

Watchers

 avatar  avatar

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.