Skip to content

Commit

Permalink
Release v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RabidFire committed Sep 19, 2020
1 parent 8f81def commit bca0d29
Show file tree
Hide file tree
Showing 676 changed files with 38,771 additions and 3 deletions.
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 KeepWorks
Copyright (c) 2020 KeepWorks Technologies Pvt Ltd

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# claycms
Clay CMS Monorepo
# Clay CMS

Clay CMS Monorepo.
14 changes: 14 additions & 0 deletions api/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
API_HOST=api.claycms-dev.io
API_PORT=8080
ASSET_HOST=http://api.claycms-dev.io:8080
APP_HOST=claycms-dev.io
RACK_ENV=development
RAILS_ENV=development
FORCE_SSL=
PORT=8080
CLOUDAMQP_URL=amqp://guest:guest@localhost:5672
RABBIT_HOST=
RABBIT_PORT=
CLAY_SSO_URL=http://localhost:3000/sso/clay
CLAY_SSO_SECRET=f1be8d630eb5d477310ed1882c5a04c0f6e7ac8e17e0d138a15fdea6495c6bf0
HMAC_SECRET=4f78a814febed95543ccf83be99ad7baabd42e1db09ffd934e2a866a3e91b106
136 changes: 136 additions & 0 deletions api/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
## Rails

*.rbc
*.sassc
.sass-cache
capybara-*.html
.rspec
/db/*.sqlite3
/db/*.sqlite3-journal
/public/system
/public/assets
/public/uploads
/public/exports
/coverage/
/spec/reports/
/spec/tmp
/spec/examples.txt
rerun.txt
pickle-email-*.html
dump.rdb

/node_modules
/yarn-error.log

## Environment normalisation:
/.bundle
/vendor/bundle

# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc

# if using bower-rails ignore default bower_components path bower.json files
/vendor/assets/bower_components
*.bowerrc
bower.json

# Ignore pow environment settings
.powenv

# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep

# Ignore uploaded files in development
/storage/*

# Ignore master key for decrypting credentials and more.
/config/master.key

# Ignore Byebug command history file.
.byebug_history

## Documentation cache and generated files:
/.yardoc/
/_yardoc/
/doc/
/rdoc/

# Developer-specific files - These have a corresponding *.example file as a template to quickly copy over
config/database.yml
.env

## General

# Git
**.orig

# OS X
.DS_Store
.DS_Store?
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear on external disk
.Spotlight-V100
.Trashes

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk

# Compiled source
*.com
*.class
*.dll
*.exe
*.o
*.so

# Packages
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# Logs and databases
*.log
*.sql
*.sqlite
97 changes: 97 additions & 0 deletions api/.rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
require: rubocop-rails

AllCops:
Exclude:
- 'db/schema.rb'
- 'bin/*'

Bundler/OrderedGems:
Enabled: false

Layout/FirstArrayElementIndentation:
EnforcedStyle: consistent

Layout/FirstHashElementIndentation:
EnforcedStyle: consistent

Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented

Lint/UnusedBlockArgument:
Enabled: false

Metrics/AbcSize:
Enabled: false

Metrics/BlockLength:
Enabled: false

Layout/LineLength:
Enabled: false

Lint/NonDeterministicRequireOrder:
Enabled: false

Lint/RaiseException:
Enabled: true

Lint/StructNewOverride:
Enabled: true

Metrics/MethodLength:
Enabled: false

Rails:
Enabled: true

Rails/Delegate:
Enabled: false

Rails/FilePath:
EnforcedStyle: arguments

Rails/HasAndBelongsToMany:
Enabled: false

Rails/ReversibleMigration:
Enabled: false

Rails/SkipsModelValidations:
Enabled: false

Rails/UniqueValidationWithoutIndex:
Enabled: false

Rails/UnknownEnv:
Environments:
- development
- test
- staging
- production

Style/Documentation:
Enabled: false

Style/FrozenStringLiteralComment: # This cop is designed to help upgrade to Ruby 3.0
Enabled: false

Style/Lambda:
EnforcedStyle: literal

Style/NegatedIf:
Enabled: false

Style/NumericPredicate:
EnforcedStyle: comparison

Style/SymbolArray:
EnforcedStyle: brackets

Style/HashEachMethods:
Enabled: true

Style/HashTransformKeys:
Enabled: true

Style/HashTransformValues:
Enabled: true
1 change: 1 addition & 0 deletions api/.ruby-gemset
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
claycms-api
1 change: 1 addition & 0 deletions api/.ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ruby-2.5.0
Loading

0 comments on commit bca0d29

Please sign in to comment.