Giter VIP home page Giter VIP logo

astral's Introduction

Astral v2

Join the chat at https://gitter.im/astralapp/astral Build Status ghit.me

This is the repository for Astral v2. Currently looking for core contributors!


Improvements

  • Improved Caching
  • Improved UI/UX
  • Built on Laravel 5.4
  • Switched the front-end from AngularJS to VueJS

Getting up and running

With Homestead

  • Fork this repository, clone it, and cd into it

  • Install the front-end dependencies: yarn or npm install

  • Install the PHP dependenices: composer install

  • Install Homestead

  • Configure Homestead: homestead edit

     [...]
    
     folders:
         - map: ~/<PATH TO REPO>
           to: /home/vagrant/astral
    
     sites:
         - map: astralapp.app
           to: /home/vagrant/astral/public
    
     databases:
         - astral
    
      [...]
    
  • Add the local development domain to your hosts file: 192.168.10.10 astralapp.app

  • Create a new GitHub personal access token, and grab the keys it gives you

  • Copy the .env.example file and rename it to .env. Add your GitHub keys to it

  • SSH into your Homestead app, migrate the DB, and generate a new app key

     $ homestead ssh
     $ cd astral
     $ php artisan migrate
     $ php artisan key:generate
    
  • Fire up the app! Open a browser at http://astralapp.app/ and bask in its glory!

With Docker using Laradock

  • Fork this repository, clone it recursively including submodules, and cd into laradock folder

  • Execute Docker Compose: docker-compose up -d nginx mysql redis

  • Run a terminal inside workspace container: docker-compose exec workspace bash

  • Change to laradock user: su laradock

  • Install the front-end dependencies: npm install

  • Install the PHP dependencies: composer install and exit container

  • Add the local development domain to your hosts file: your_ip astralapp.app

  • Create a new OAuth Application, and grab the keys it gives you

  • Copy the .env.example file and rename it to .env. Add your GitHub keys to it

  • Run a terminal into your workspace container again, migrate the DB, and generate a new app key

     $ php artisan migrate
     $ php artisan key:generate
    
  • Fire up the app! Open a browser at http://astralapp.app/ and bask in its glory!

Compiling JavaScript and SCSS Changes

Astral uses JS and SCSS that needs to be transpiled before use. There are various NPM tasks available to you to make this easy.

  • When developing you often want to watch files for changes, and re-bundle automatically. You'll want to run either npm run watch or npm run hot. The watch command is a standard file watcher, and hot will give you hot module reloading.
  • To get the bundle production ready, run npm run production. This will generate production-ready JS and CSS assets.
  • Consult the package.json file for other NPM scripts you can use.

Contributing

  • Get up and running
  • Create a new descriptively-named branch
  • Commit your changes and push to your fork.
  • Create a pull request with a clear, well written description of what the PR is all about. You should always run npm run production and commit the results before creating the PR.
  • Party!!

astral's People

Contributors

syropian avatar joshhornby avatar alexbowers avatar dalareo avatar bntzio avatar farrrr avatar laravel-shift avatar lwward avatar

Stargazers

Roman avatar

Watchers

⠵⠑⠙⠞⠎⠑ 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.