Skip to content

editmodelabs/rails-starter

Repository files navigation

Rails 6, Tailwind, Editmode Starter

This repository is an easily-forkable, stripped-back Rails codebase which includes only Tailwind & Editmode, and is intended to demonstrate how quickly you can get up and running building a website on Rails. It is designed for beginners. If you know even a little HTML and CSS you should still be able to get up and running. This is because we've intentionally left out things which require additional proficiency such as webpack or npm.

Works with Github codespaces

Github Codespaces allow you to run a full development environment in your browser, complete with the VSCode editor. It's currently invite-only.

Get started with codespaces (requires codespaces beta access)

First, go to Github Codespaces, select "Create new codespace", and enter in the path of this repo (currently editmodelabs/rails-starter).

Once the environment has been created, open your Terminal and run

bundle install

Wait for a minute or so, then run

rails s

To allow others to see your app on the internet, we need to take one more step. Click on the "Remote" tab on the left of the interface, and find the "Forwarded Ports" section. Then forward port 3000. Now, click the globe icon to view your live rails app.

Congratulations, you're now running your first rails app on codespaces

Works with Replit

Relpit also allows you to run a development environment in your browser. It is substantially less powerful than Codespaces, but is free and open, and for the purposes of this codebase is more than sufficient.

(WIP - will add replit instructions soon)

About

Very bare-bones rails 6 & tailwind starter app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages