Coder Social home page Coder Social logo

denverfp's Introduction

denverfp

Welcome to the DenverFP website repository!

This is a Haskell application using the Yesod web framework.

Setup:

  1. Install the stack build tool for Haskell projects.
  2. Run stack setup to install the compiler.
  3. Setup Postgresql according to the instructions below.
  4. stack test will build all the dependencies and run the test suite.

Development

  1. Run stack build yesod-bin to install the dev tools
  2. Run stack exec -- yesod devel to run the development server
  3. Open https://localhost:3000 to see the website.

Database Setup

The application uses PostgreSQL. To initialize the database, install PostgreSQL on your system.

Ubuntu:

  1. Run sudo su postgres to enter a shell as Postgres user.
  2. Run createdb denverfp to create the development database.
  3. Run createdb denverfp_test to create the test database.
  4. Run createuser denverfp to create the dev user
  5. Run psql to enter a Postgres shell
  6. Do ALTER USER denverfp WITH PASSWORD 'denverfp' to set the password for the user

denverfp's People

Contributors

parsonsmatt avatar

Watchers

James Cloos 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.