Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/juliendargelos/lilu

Lilu app.
https://github.com/juliendargelos/lilu

Last synced: 4 days ago
JSON representation

Lilu app.

Awesome Lists containing this project

README

        

# Lilu

[lilu-gobelins.herokuapp.com](https://lilu-gobelins.herokuapp.com)

## Install

### Clone the repository

```shell
git clone [email protected]:juliendargelos/lilu.git
cd lilu
```

### Check your Ruby version

```shell
ruby -v
```

The ouput should start with something like `ruby 2.5.0`

If not, install the right ruby version using [rbenv](https://github.com/rbenv/rbenv) (it could take a while):

```shell
rbenv install 2.5.0
```

### Install dependencies

Using [Bundler](https://github.com/bundler/bundler) and [Yarn](https://github.com/yarnpkg/yarn):

```shell
bundle && yarn install
```

### Set environment variables

Using [Figaro](https://github.com/laserlemon/figaro):

See [config/application.yml.sample](https://github.com/juliendargelos/lilu/blob/master/config/application.yml.sample) and contact the developer: [[email protected]](mailto:[email protected]) (sensitive data).

### Initialize the database

```shell
rails db:create db:migrate db:seed
```

To reset the database when it already exists:

```shell
rails db:migrate:reset db:seed
```

### Add heroku remotes

Using [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli):

```shell
heroku git:remote -a lilu-gobelins
```

## Serve

```shell
rails s
```

## Deploy

Push to Heroku production remote:

```shell
git push heroku
```