Skip to content

Cookie cutter template for starting a React project with a Haskell backend

Notifications You must be signed in to change notification settings

baguasquirrel/haskell-react-base-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to setup

  1. If you don't have homebrew, please install it now.

  2. If you do have homebrew, brew update.

  3. Tap these casks.

# brew cask install vagrant
# brew cask install virtualbox
  1. Yay! You should be able to run a VM now. Get on a fast wifi, and lets get your VM up! Also, put that third export line in your ~/.profile
$ vagrant box add ubuntu/vivid64
$ vagrant plugin install ansible
$ export ANSIBLE_LIBRARY=`pwd`/ansible-module-extras
  1. Ok, now for the big moment. In the root directory of this repo, bring up the VM.
$ vagrant up
  1. The VM should be up now. Get three terminal windows up.
  • to start rsync:

    $ vagrant rsync-auto
    
  • to build and run the webserver:

    $ vagrant ssh
    $ cd /fallingwater/haskell
    $ stack build
    $ dist/build/fallingwater/fallingwater -b 0.0.0.0 -p 8080
    
  • to continuously run the javascript packagers

    $ vagrant ssh
    $ cd /fallingwater/web
    $ gulp init
    $ gulp watch
    

About

Cookie cutter template for starting a React project with a Haskell backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published