mirror of
https://github.com/stolksdorf/homebrewery.git
synced 2025-12-13 06:55:57 +00:00
Removing uneeded files
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -4,13 +4,13 @@ logs
|
|||||||
|
|
||||||
#Ignore our built files
|
#Ignore our built files
|
||||||
build/*
|
build/*
|
||||||
architecture.json
|
|
||||||
|
|
||||||
# Ignore sensitive stuff
|
# Ignore sensitive stuff
|
||||||
/config/*
|
config/local.json
|
||||||
!/config/default.json
|
|
||||||
|
|
||||||
node_modules
|
node_modules
|
||||||
storage
|
storage
|
||||||
.idea
|
.idea
|
||||||
*.swp
|
*.swp
|
||||||
|
|
||||||
|
todo.md
|
||||||
29
Dockerfile
29
Dockerfile
@@ -1,29 +0,0 @@
|
|||||||
FROM node:latest
|
|
||||||
|
|
||||||
MAINTAINER David Hudson <jendave@yahoo.com>
|
|
||||||
|
|
||||||
# System update
|
|
||||||
RUN apt-get -q -y update
|
|
||||||
|
|
||||||
RUN apt-get -q -y install npm
|
|
||||||
RUN apt-get -q -y install mongodb
|
|
||||||
|
|
||||||
RUN apt-get clean && rm -r /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
EXPOSE 22
|
|
||||||
EXPOSE 8000
|
|
||||||
|
|
||||||
ADD start.sh /start.sh
|
|
||||||
RUN chmod +x /start.sh
|
|
||||||
|
|
||||||
VOLUME ["/opt/apps"]
|
|
||||||
COPY . /opt/apps/naturalcrit/
|
|
||||||
WORKDIR /opt/apps/naturalcrit/
|
|
||||||
|
|
||||||
RUN npm install
|
|
||||||
RUN npm install -g gulp-cli
|
|
||||||
RUN npm install gulp
|
|
||||||
RUN gulp fresh
|
|
||||||
|
|
||||||
CMD ["/start.sh"]
|
|
||||||
|
|
||||||
22
client/admin/architecture.json
Normal file
22
client/admin/architecture.json
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\admin\\homebrewAdmin\\brewSearch.jsx": [
|
||||||
|
"react",
|
||||||
|
"lodash",
|
||||||
|
"classnames",
|
||||||
|
"superagent"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\admin\\homebrewAdmin\\homebrewAdmin.jsx": [
|
||||||
|
"react",
|
||||||
|
"lodash",
|
||||||
|
"classnames",
|
||||||
|
"superagent",
|
||||||
|
"moment",
|
||||||
|
"./brewSearch.jsx"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\admin\\admin.jsx": [
|
||||||
|
"react",
|
||||||
|
"lodash",
|
||||||
|
"classnames",
|
||||||
|
"./homebrewAdmin/homebrewAdmin.jsx"
|
||||||
|
]
|
||||||
|
}
|
||||||
221
client/homebrew/architecture.json
Normal file
221
client/homebrew/architecture.json
Normal file
@@ -0,0 +1,221 @@
|
|||||||
|
{
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\pages\\userPage\\brewItem\\brewItem.jsx": [
|
||||||
|
"react",
|
||||||
|
"lodash",
|
||||||
|
"classnames",
|
||||||
|
"moment"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\editor\\metadataEditor\\metadataEditor.jsx": [
|
||||||
|
"react",
|
||||||
|
"lodash",
|
||||||
|
"classnames",
|
||||||
|
"superagent"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\brewRenderer\\errorBar\\errorBar.jsx": [
|
||||||
|
"react",
|
||||||
|
"lodash",
|
||||||
|
"classnames"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\editor\\snippetbar\\snippets\\magic.gen.js": [
|
||||||
|
"lodash"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\editor\\snippetbar\\snippets\\classfeature.gen.js": [
|
||||||
|
"lodash"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\editor\\snippetbar\\snippets\\monsterblock.gen.js": [
|
||||||
|
"lodash"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\editor\\snippetbar\\snippets\\classtable.gen.js": [
|
||||||
|
"lodash"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\editor\\snippetbar\\snippets\\coverpage.gen.js": [
|
||||||
|
"lodash"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\editor\\snippetbar\\snippets\\tableOfContents.gen.js": [
|
||||||
|
"lodash"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\editor\\snippetbar\\snippets\\fullclass.gen.js": [
|
||||||
|
"lodash",
|
||||||
|
"./classfeature.gen.js",
|
||||||
|
"./classtable.gen.js"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\editor\\snippetbar\\snippets\\snippets.js": [
|
||||||
|
"./magic.gen.js",
|
||||||
|
"./classfeature.gen.js",
|
||||||
|
"./monsterblock.gen.js",
|
||||||
|
"./classtable.gen.js",
|
||||||
|
"./coverpage.gen.js",
|
||||||
|
"./tableOfContents.gen.js",
|
||||||
|
"./fullclass.gen.js"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\editor\\snippetbar\\snippetbar.jsx": [
|
||||||
|
"react",
|
||||||
|
"lodash",
|
||||||
|
"classnames",
|
||||||
|
"./snippets/snippets.js"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\pages\\printPage\\printPage.jsx": [
|
||||||
|
"react",
|
||||||
|
"lodash",
|
||||||
|
"classnames",
|
||||||
|
"naturalcrit/markdown.js"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\shared\\naturalcrit\\markdown.js": [
|
||||||
|
"lodash",
|
||||||
|
"marked"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\brewRenderer\\brewRenderer.jsx": [
|
||||||
|
"react",
|
||||||
|
"lodash",
|
||||||
|
"classnames",
|
||||||
|
"./errorBar/errorBar.jsx",
|
||||||
|
"naturalcrit/markdown.js"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\navbar\\account.navitem.jsx": [
|
||||||
|
"react",
|
||||||
|
"naturalcrit/nav/nav.jsx"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\navbar\\navbar.jsx": [
|
||||||
|
"react",
|
||||||
|
"lodash",
|
||||||
|
"naturalcrit/nav/nav.jsx"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\navbar\\print.navitem.jsx": [
|
||||||
|
"react",
|
||||||
|
"naturalcrit/nav/nav.jsx"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\pages\\sharePage\\sharePage.jsx": [
|
||||||
|
"react",
|
||||||
|
"lodash",
|
||||||
|
"classnames",
|
||||||
|
"../../navbar/issue.navitem.jsx",
|
||||||
|
"../../brewRenderer/brewRenderer.jsx",
|
||||||
|
"../../navbar/account.navitem.jsx",
|
||||||
|
"../../navbar/navbar.jsx",
|
||||||
|
"../../navbar/print.navitem.jsx",
|
||||||
|
"naturalcrit/nav/nav.jsx"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\pages\\newPage\\newPage.jsx": [
|
||||||
|
"react",
|
||||||
|
"lodash",
|
||||||
|
"classnames",
|
||||||
|
"superagent",
|
||||||
|
"../../navbar/navbar.jsx",
|
||||||
|
"../../navbar/issue.navitem.jsx",
|
||||||
|
"../../navbar/account.navitem.jsx",
|
||||||
|
"../../brewRenderer/brewRenderer.jsx",
|
||||||
|
"../../editor/editor.jsx",
|
||||||
|
"naturalcrit/markdown.js",
|
||||||
|
"naturalcrit/nav/nav.jsx",
|
||||||
|
"naturalcrit/splitPane/splitPane.jsx"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\navbar\\recent.navitem.jsx": [
|
||||||
|
"react",
|
||||||
|
"lodash",
|
||||||
|
"classnames",
|
||||||
|
"moment",
|
||||||
|
"naturalcrit/nav/nav.jsx"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\pages\\errorPage\\errorPage.jsx": [
|
||||||
|
"react",
|
||||||
|
"lodash",
|
||||||
|
"classnames",
|
||||||
|
"../../navbar/navbar.jsx",
|
||||||
|
"../../navbar/issue.navitem.jsx",
|
||||||
|
"../../navbar/patreon.navitem.jsx",
|
||||||
|
"../../navbar/recent.navitem.jsx",
|
||||||
|
"../../brewRenderer/brewRenderer.jsx",
|
||||||
|
"naturalcrit/nav/nav.jsx"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\shared\\naturalcrit\\codeEditor\\codeEditor.jsx": [
|
||||||
|
"react",
|
||||||
|
"lodash",
|
||||||
|
"classnames",
|
||||||
|
"codemirror",
|
||||||
|
"codemirror/mode/gfm/gfm.js",
|
||||||
|
"codemirror/mode/javascript/javascript.js"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\editor\\editor.jsx": [
|
||||||
|
"react",
|
||||||
|
"lodash",
|
||||||
|
"classnames",
|
||||||
|
"./metadataEditor/metadataEditor.jsx",
|
||||||
|
"./snippetbar/snippetbar.jsx",
|
||||||
|
"naturalcrit/codeEditor/codeEditor.jsx"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\navbar\\patreon.navitem.jsx": [
|
||||||
|
"react",
|
||||||
|
"naturalcrit/nav/nav.jsx"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\pages\\homePage\\homePage.jsx": [
|
||||||
|
"react",
|
||||||
|
"lodash",
|
||||||
|
"classnames",
|
||||||
|
"superagent",
|
||||||
|
"../../navbar/navbar.jsx",
|
||||||
|
"../../navbar/issue.navitem.jsx",
|
||||||
|
"../../editor/editor.jsx",
|
||||||
|
"../../navbar/account.navitem.jsx",
|
||||||
|
"../../brewRenderer/brewRenderer.jsx",
|
||||||
|
"../../navbar/recent.navitem.jsx",
|
||||||
|
"naturalcrit/nav/nav.jsx",
|
||||||
|
"naturalcrit/splitPane/splitPane.jsx",
|
||||||
|
"../../navbar/patreon.navitem.jsx"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\shared\\naturalcrit\\splitPane\\splitPane.jsx": [
|
||||||
|
"react",
|
||||||
|
"lodash",
|
||||||
|
"classnames"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\pages\\userPage\\userPage.jsx": [
|
||||||
|
"react",
|
||||||
|
"lodash",
|
||||||
|
"classnames",
|
||||||
|
"../../navbar/navbar.jsx",
|
||||||
|
"../../navbar/recent.navitem.jsx",
|
||||||
|
"../../navbar/account.navitem.jsx",
|
||||||
|
"./brewItem/brewItem.jsx",
|
||||||
|
"naturalcrit/nav/nav.jsx"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\shared\\naturalcrit\\svg\\naturalcrit.svg.jsx": [
|
||||||
|
"react"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\shared\\naturalcrit\\nav\\nav.jsx": [
|
||||||
|
"react",
|
||||||
|
"lodash",
|
||||||
|
"classnames",
|
||||||
|
"naturalcrit/svg/naturalcrit.svg.jsx"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\navbar\\issue.navitem.jsx": [
|
||||||
|
"react",
|
||||||
|
"naturalcrit/nav/nav.jsx"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\pages\\editPage\\editPage.jsx": [
|
||||||
|
"react",
|
||||||
|
"lodash",
|
||||||
|
"classnames",
|
||||||
|
"superagent",
|
||||||
|
"../../navbar/print.navitem.jsx",
|
||||||
|
"../../navbar/account.navitem.jsx",
|
||||||
|
"../../navbar/navbar.jsx",
|
||||||
|
"../../brewRenderer/brewRenderer.jsx",
|
||||||
|
"naturalcrit/markdown.js",
|
||||||
|
"naturalcrit/nav/nav.jsx",
|
||||||
|
"../../editor/editor.jsx",
|
||||||
|
"naturalcrit/splitPane/splitPane.jsx",
|
||||||
|
"../../navbar/issue.navitem.jsx"
|
||||||
|
],
|
||||||
|
"C:\\Dropbox\\root\\Programming\\Javascript\\homebrewery\\client\\homebrew\\homebrew.jsx": [
|
||||||
|
"react",
|
||||||
|
"lodash",
|
||||||
|
"classnames",
|
||||||
|
"pico-router",
|
||||||
|
"./pages/printPage/printPage.jsx",
|
||||||
|
"./pages/sharePage/sharePage.jsx",
|
||||||
|
"./pages/newPage/newPage.jsx",
|
||||||
|
"./pages/errorPage/errorPage.jsx",
|
||||||
|
"./pages/homePage/homePage.jsx",
|
||||||
|
"./pages/userPage/userPage.jsx",
|
||||||
|
"./pages/editPage/editPage.jsx"
|
||||||
|
]
|
||||||
|
}
|
||||||
50
gulpfile.js
50
gulpfile.js
@@ -1,50 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
var vitreumTasks = require("vitreum/tasks");
|
|
||||||
var gulp = require("gulp");
|
|
||||||
|
|
||||||
|
|
||||||
var gulp = vitreumTasks(gulp, {
|
|
||||||
entryPoints: [
|
|
||||||
'./client/homebrew',
|
|
||||||
'./client/admin'
|
|
||||||
],
|
|
||||||
|
|
||||||
DEV: true,
|
|
||||||
buildPath: "./build/",
|
|
||||||
pageTemplate: "./client/template.dot",
|
|
||||||
projectModules: ["./shared/naturalcrit","./shared/codemirror"],
|
|
||||||
additionalRequirePaths : ['./shared', './node_modules'],
|
|
||||||
assetExts: ["*.svg", "*.png", "*.jpg", "*.pdf", "*.eot", "*.otf", "*.woff", "*.woff2", "*.ico", "*.ttf"],
|
|
||||||
serverWatchPaths: ["server"],
|
|
||||||
serverScript: "server.js",
|
|
||||||
libs: [
|
|
||||||
"react",
|
|
||||||
"react-dom",
|
|
||||||
"lodash",
|
|
||||||
"classnames",
|
|
||||||
|
|
||||||
//From ./shared
|
|
||||||
"codemirror",
|
|
||||||
"codemirror/mode/gfm/gfm.js",
|
|
||||||
'codemirror/mode/javascript/javascript.js',
|
|
||||||
|
|
||||||
"moment",
|
|
||||||
"superagent",
|
|
||||||
"marked",
|
|
||||||
"pico-router",
|
|
||||||
"pico-flux"
|
|
||||||
],
|
|
||||||
clientLibs: [],
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
var rename = require('gulp-rename');
|
|
||||||
var less = require('gulp-less');
|
|
||||||
gulp.task('phb', function(){
|
|
||||||
gulp.src('./client/homebrew/phbStyle/phb.style.less')
|
|
||||||
.pipe(less())
|
|
||||||
.pipe(rename('phb.standalone.css'))
|
|
||||||
.pipe(gulp.dest('./'));
|
|
||||||
})
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user