Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ye-old packages and node #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 29 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,37 @@
## Use OLD Node

NVM install 6.11.0
NVM use 6.11.0

## Turn off any fancy VS extension like console ninja since that uses ESM imports

They will break the build if you have them. Ignore if not using VS extensions

## Install using yarn

yarn install

## Attempt to run it twice

The server looks for a static folder which only exists after it's failed to run once

## Local postgress connection

Also, you need a local postgres connection
"development": {
"username": null,
"password": null,
"database": "boox",
"host": "127.0.0.1",
"port": "5432",
"dialect": "postgres"
},

$ npm run start:dev

to run an interactive session
$ node console.js


deploy
$ npm run build
$ git push heroku master
Expand Down
77 changes: 40 additions & 37 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "boox",
"version": "1.0.0",
"version": "1.0.1",
"description": "Book mixtapes",
"main": "server/index.js",
"engines": {
Expand All @@ -14,47 +14,50 @@
"heroku-postbuild": "npm run build",
"start": "node server"
},
"resolutions": {
"split2": "3.2.2"
},
"author": "Kate Ray",
"license": "ISC",
"dependencies": {
"airbrake-js": "^0.9.0",
"babel-cli": "^6.24.1",
"babel-loader": "^7.0.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-env": "^1.5.1",
"babel-preset-react": "^6.24.1",
"bcryptjs": "^2.4.3",
"body-parser": "^1.17.2",
"cookie-parser": "^1.4.3",
"cookie-session": "^2.0.0-beta.2",
"css-loader": "^0.28.4",
"express": "^4.15.3",
"express-session": "^1.15.3",
"extract-text-webpack-plugin": "^2.1.0",
"airbrake-js": "0.9.0",
"babel-cli": "6.24.1",
"babel-loader": "7.0.0",
"babel-plugin-transform-object-rest-spread": "6.23.0",
"babel-preset-env": "1.5.1",
"babel-preset-react": "6.24.1",
"bcryptjs": "2.4.3",
"body-parser": "1.17.2",
"cookie-parser": "1.4.3",
"cookie-session": "2.0.0-beta.2",
"css-loader": "0.28.4",
"express": "4.15.3",
"express-session": "1.15.3",
"extract-text-webpack-plugin": "2.1.0",
"heroku-ssl-redirect": "0.0.4",
"isomorphic-fetch": "^2.2.1",
"lodash": "^4.17.4",
"node-sass": "^4.5.3",
"passport": "^0.3.2",
"passport-local": "^1.0.0",
"pg": "^6.2.3",
"react": "^15.5.4",
"react-dom": "^15.5.4",
"react-redux": "^5.0.5",
"react-router-dom": "^4.1.1",
"redux": "^3.6.0",
"redux-thunk": "^2.2.0",
"sass-loader": "^6.0.5",
"sequelize": "^3.30.4",
"sequelize-cli": "^2.7.0",
"sortablejs": "^1.6.0",
"style-loader": "^0.18.1",
"webpack": "^2.6.1",
"webpack-manifest-plugin": "^1.1.0"
"isomorphic-fetch": "2.2.1",
"lodash": "4.17.4",
"node-sass": "4.5.3",
"passport": "0.3.2",
"passport-local": "1.0.0",
"pg": "6.2.3",
"react": "15.5.4",
"react-dom": "15.5.4",
"react-redux": "5.0.5",
"react-router-dom": "4.1.1",
"redux": "3.6.0",
"redux-thunk": "2.2.0",
"sass-loader": "6.0.5",
"sequelize": "3.30.4",
"sequelize-cli": "2.7.0",
"sortablejs": "1.6.0",
"style-loader": "0.18.1",
"webpack": "2.6.1",
"webpack-manifest-plugin": "1.1.0"
},
"devDependencies": {
"nodemon": "^1.11.0",
"npm-run-all": "^4.0.2",
"repl": "^0.1.3"
"nodemon": "1.11.0",
"npm-run-all": "4.0.2",
"repl": "0.1.3"
}
}
Loading