Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Commit

Permalink
Move ng app into web (#370)
Browse files Browse the repository at this point in the history
* move app/src => web/ for the angular app
* move some js/ts config files into root
* Move overview and new style to the web folder
  • Loading branch information
snatchev committed Mar 26, 2018
1 parent 55efe98 commit 8fa2ba5
Show file tree
Hide file tree
Showing 42 changed files with 15 additions and 18 deletions.
6 changes: 3 additions & 3 deletions app/.angular-cli.json → .angular-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"apps": [
{
"root": "src",
"root": "web",
"outDir": "../public/.dist",
"assets": [
"assets",
Expand All @@ -32,11 +32,11 @@
],
"lint": [
{
"project": "src/tsconfig.app.json",
"project": "web/tsconfig.app.json",
"exclude": "**/node_modules/**"
},
{
"project": "src/tsconfig.spec.json",
"project": "web/tsconfig.spec.json",
"exclude": "**/node_modules/**"
}
],
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ fastlane.verbose.log
public/.dist/*
**/node_modules/*
package-lock.json
npm-debug.log

# from https://github.com/github/gitignore/blob/master/Ruby.gitignore

Expand Down
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,9 @@ Requires Ruby 2.3.3 or higher. macOS and Xcode are required when building iOS pr

## Development installation

**Note:** We have a couple dependencies that aren't standalone gems yet, so we included them as git submodules for now

```
bundle install
git submodule init
git submodule update
```
Run the rake task: `rake devboostrap`.
1. Install all dependencies (ruby, javascript)
2. Add a pre-commit hook

## Environment variables for first run

Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ end

task :devbootstrap do
sh "bundle install"
sh "git submodule update --init --recursive"
sh "npm install"
sh "ln -sf ../../.pre-commit .git/hooks/pre-commit"
end

Expand Down
12 changes: 6 additions & 6 deletions docs/ProjectLayout.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ ci
│   ├── [features](#features)
│   ├── [services](#services)
│   ├── [shared](#shared)
│   ├── [src](#src)
│   └── [workers](#workers)
├── docs
├── public
├── [spec](#spec)
├── [web](#web)
└── [vendor](#vendor)
```

Expand All @@ -33,11 +33,6 @@ Services are like controllers for your data
shared
---

src
---

Front-end code for the browser UI of the application

workers
---

Expand All @@ -48,6 +43,11 @@ spec

Rspec tests for the ruby implementation of the web application. Sub-folders here should match the relevant files under test in `app/`

web
---

Front-end code for the browser UI of the application

vendor
---

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion app/tsconfig.json → tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
"outDir": "./web/dist/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8fa2ba5

Please sign in to comment.