Project

yescode

0.0
There's a lot of open issues
This gem helps you write mvc web applications
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Development

~> 5.14

Runtime

= 2.7.1
= 0.3.1
= 2.2.3
= 2.6.0
= 1.4.2
 Project Readme

yescode

A ruby full stack mvc web framework

Learning

Check out the examples/ folder for some ideas on how to get started

Quickstart without docker

Install the gem

gem install yescode

Generate a new app and get in there

yescode g app todos
cd todos

Install the dependencies

bundle install

Set the environment from the .env file

export $(cat .env | xargs)

Start the server

bundle exec tipi --listen localhost:9292 config.ru

Test it out with curl or you can just visit http://localhost:9292 in your browser

curl localhost:9292

Quickstart with docker

Install the gem

gem install yescode

Generate a new app and get in there

yescode g app todos
cd todos

Build a docker image. The Dockerfile installs hivemind and watchexec and will restart the server on file changes using Procfile.dev

docker build -t todos .

Run the container

docker run --rm -it -v $(pwd):/home/app --env-file=.env -p 9292:9292 --name "todos" todos hivemind Procfile.dev