Skip to content

strongqa/demo_web_app

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

Simple demo web application

CircleCI

Installation

bin/setup
bin/rails s

Known issues

If bundle install raise the error:

`mri_21` is not a valid platform. The available options are: [:ruby, :ruby_18,
:ruby_19, :ruby_20, :mri, :mri_18, :mri_19, :mri_20, :rbx, :jruby, :mswin,
:mingw, :mingw_18, :mingw_19, :mingw_20]

Then update bundler:

gem update bundler

Run development environment locally on docker

docker-compose build
docker-compose run --rm web rake db:create db:migrate db:seed
docker-compose up

Run production environment locally on docker

docker-compose -f docker-compose.production.yml build
docker-compose -f docker-compose.production.yml up

Useful commands:

docker-compose -f docker-compose.production.yml exec web rake db:create db:migrate db:seed
docker-compose -f docker-compose.production.yml exec web rake assets:precompile
docker-compose -f docker-compose.production.yml stop

DEMO SERVER

http://demoapp.strongqa.com

Default admin email: admin@strongqa.com
Default password: 1234567890

Note: all test data, except 3 test articles and 5 demo users are cleaning up every day at 00:00 UTC

API

curl 'http://demoapp.strongqa.com/api/v1/articles' -H 'Authorization: Token token="97f85fa997125c758a67213c44e1c0543a603f3819b31456b9"'

Contribution

About

This is demo web application for howitzer_example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published