GithubHelp home page GithubHelp logo

lancie-dialog's Introduction

AreaFiftyLAN

This site is still under construction. This is not in use yet :(.

Development

Dependencies

To start development, you need some dependencies to get it all up and running. Most actual dependencies are run with Docker, so it should be fairly simple to run. The dependencies are:

It's advised to develop using a UNIX based operating system (Linux or macOS mostly), as Windows can sometimes give weird issues. You are welcome to still use Windows, but know that only limited support can be given.

Starting Up

Development is done locally, with the services it depends on running with Docker. To start the dependencies, a Docker compose file is provided. This can be start with:

docker-compose up

This exposes several services:

  • The Postgres database to connect to, accesible at the default port 5432.
  • An Adminer instance, to explore the database, accesible at localhost:8080.
  • Mailcatcher SMTP server, at port 1025.
  • Mailcatcher to view the outgoing email at localhost:8081.

Now to start the actual application, install the dependencies first:

yarn install

The database has to be set up separately. Fortunally it's also very simple, to create the structure you can run the following command:

yarn migrate-dev

Now to seed the database with some sample data found in server/prisma/seed, you can run the following command.

yarn seed

Now you can start the server and visit it on localhost:3000:

yarn dev

Resetting

It's possible that the database enters an invalid state because of an programming error. You can either fix this manual at the database interface, but it's easier to just reset.

This can be done by stopping the development server, running the following command, and start the server again:

yarn migrate-reset

You should now be able to start the server again with a fresh database. The seeding script is also run for you.

Design

The design can be found here. With this link you can only view the design. If you also want to apply changes ask Marit for permission.

lancie-dialog's People

Contributors

fastjur avatar francisbehnen avatar martijnjanssen avatar matthijskok avatar

Watchers

 avatar  avatar  avatar

lancie-dialog's Issues

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.