Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
bin
 
 
 
 
db
 
 
 
 
lib
 
 
log
 
 
 
 
 
 
 
 
tmp
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Edwig_admin

Ruby 2.2.6

Installation

Application

git clone git@github.com:af83/edwig-admin.git
cd edwig-admin

Postgresql

CREATE USER "edwig_admin" SUPERUSER PASSWORD 'edwig_admin';
CREATE DATABASE "edwig_admin";

Rails

bundle install
rails db:create
rails db:migrate

Seed to create the first user (the password will be displayed in the console)

rails db:seed

Tests

rake db:migrate RAILS_ENV=test
rake spec

For Production

export EDWIG_TOKEN="secret"

Database configuration can be defined in config/database.yml

Running Edwig-admin

To run Edwig-admin, an Edwig server must be running. The server address can be configurated in environment config files with setting config.edwig_api_host.

The Edwig admin token must be set in an EDWIG_TOKEN environment variable. Il can be configurated in environment config files with setting config.edwig_token.

About

Front d'administration d'edwig

Resources

Releases

No releases published

Packages

No packages published