Git Product home page Git Product logo

course's Introduction

CI

Course

What is Course

Hello! This is course a pairing board inspired by pair-up. At time I wrote course, pairup wasn't open source, now it is. My motivation to build course was to have a paring board for a team and practicing swift on the server. After around 10 month I think it, I have a proper MVP so I can release it to the world. I'm happy about everyone, who think this is useful and I accept any kind of feedback in the form of PR or Issues.

The name "course" btw. is used in the seafaring and defines the path of the current day. I think with the driver and navigator pattern this is good relation to the topic of pairing.

pre

Course is a 12 factor app, so with this, it will fit into cloud foundry and or heroku and lots more. But there is one important dependency, a postgresql db is needed.

AND you need vapor tools on the mac

$brew install vapor

Try it out?

Before you deploy it by your own, you wann try it out. No problem, I have deployed a demo version on heroku.

deplyoment

Fork or clone

$ git clone [email protected]:idev4u/course.git
cd course
$vapor run
...
Running default command: .build/debug/Run serve
Server starting on http://localhost:8080

On Heroku

$ heroku login
$ vapor heroku push

deployment init

pre

you have already succesfully setuped a heroku account

init

first install the heroku cli tool from here then login to heroku with:

$ heroku login

then init the project with:

$ vapor heroku init

provide the custom buildpack https://github.com/vapor-community/heroku-buildpack.git

Create the following procfile in the root folder

$ echo "web: Run serve --env production --hostname 0.0.0.0 --port $PORT" > Procfile

config errors

hint: if you don't have a procfile, the app will not start. Watch out for the follwing line in the log file Procfile declares types -> (none)

Compile Swift Module 'Run' (1 sources)
Linking ./.build/x86_64-unknown-linux/release/Run
...
       Procfile declares types -> (none)
...
-----> Launching...
       Released v5
       https://course-pair.herokuapp.com/ deployed to Heroku

knowledge

here I find very a good explanation about routing groups https://www.hackingwithswift.com/articles/149/the-complete-guide-to-routing-with-vapor

how to show a image as base64 string, this is a hack to store the image in the database. https://stackoverflow.com/questions/8499633/how-to-display-base64-images-in-html Alternative stor the image in a blobstore and render the cdn path to the image. But I would like to store the image in the db for now.

Deployments

logo

font type

https://fonts.google.com/specimen/Pacifico?query=paci

course's People

Contributors

idev4u avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

course's Issues

Refactor Image Resizer

As Developer I would like to know the image Resizer works.
So for that reason, a XCTest has to created. A the important thing is handle some issue with the data object. But think about when it make sense to throw aan exception and when to provide some default value.

Add mates to the track

I would like to update the mate at the track. But before I have to load the mats for trerack from the database.

  1. Load mates from db
  2. Update mates in the track view

Redesign the frontend

  • Add line for every section
  • fix drop down button
  • fix margin
  • fix redirect to pairs anchor

Add vacation period to the board

As Teammate I should be able to make my vacation transparent. So my mate could realised when I will go to vacation

AC:

  • Edit add my vacation
  • Add View next to the out section who is on vacation

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.