Giter Site home page Giter Site logo

proj2-group6-1's Introduction

Project 2 - Group 6 - Project Name TBD

This project demonstrates the use of the following packages :

Setup Instructions

Instructions written for Windows.

  1. Open a terminal on your computer

  2. Change directory to desired location for repository : cd <desired_repo_location>

  3. Clone repo : git clone <this_repo>

  4. Change directory into the repo directory created from the clone command : cd <repo_directory>

  5. Initialize npm : npm init -y

  6. Install packages : npm install express express-session sequelize mysql2 express-handlebars connect-session-sequelize dotenv bcrypt bulma

  7. If you don't have nodemon installed globally already, do that now. If you do, skip this step : npm install -g nodemon

  8. Install nodemon as dev dependency for this repo (if not installed globally you will encounter an error, install globally first [command found in step above]) : npm install --save-dev nodemon

  9. Create a .env file in the root directory and add values for DB_NAME, DB_USER, and DB_PW, like so :

    DB_NAME='proj2_group6_db'

    DB_USER='root'

    DB_PW='your mysql password goes here'

  10. Start mysql (this step is where the walkthrough video starts) : mysql -u root -p

  11. If prompted for a password, enter the password for your mysql db

  12. Set up db : source db/schema.sql;

  13. Optional, confirm that the db was created : show databases;

  14. Quit mysql : \q;

  15. Seed db : npm run seed

  16. Start the server with either of the following commands : npm start -or- node server.js

proj2-group6-1's People

Contributors

nnorman15 avatar mcclellan-micah avatar desertpython avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.