GithubHelp home page GithubHelp logo

sharparam / filbunke Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 2.23 MB

WIP file host site

License: Mozilla Public License 2.0

Ruby 78.67% JavaScript 1.59% TypeScript 1.48% HTML 5.96% Slim 10.43% SCSS 1.77% Shell 0.05% Procfile 0.05%
hacktoberfest ruby rails sass bulma slim yarn typescript

filbunke's Introduction

Filbunke

A WIP file host site.

Development

Use one of the methods below to set up and start a development environment.

Once started, the Rails site will be available at http://localhost:3000.

Docker

For quick development, a docker compose file is provided, along with a helper script to start the necessary services:

bin/dockerdev

The helper script will append any passed arguments to the docker compose command. This means you can start the services in detached mode by simply adding the -d switch:

bin/dockerdev -d

This assumes you have Compose V2 available.

Traditional

For more traditional development, you'll need the following installed:

  • Ruby (exact version can be found in the .ruby-version file)
  • Node.js
  • Yarn
  • PostgreSQL (v12)

Then set up the project:

bundle install
yarn install
bundle exec rails db:prepare

If you have Hivemind, you can use the supplied Procfile to run the Rails server together with the webpack dev server:

hivemind

Note: You have to add a .env file that sets PORT=3000, otherwise Hivemind starts the Rails server on port 5000.

If you don't have Hivemind available you can start the servers manually:

bundle exec rails server
bin/webpack-dev-server

License

Copyright © 2021 by Adam Hellberg.

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

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.