Giter Site home page Giter Site logo

blogful-deploy's Introduction

Express Boilerplate!

This is a boilerplate project used for starting a new project.

Set up

Complete the following steps to stat a new project (NEW-PROJECT NAME):

  1. Clone this repository to your local machine 'git clone BOILERPLATE-URL NEW-PROJECTS-NAME'
  2. 'cd' into cloned repository
  3. Make a fresh start of the git history for this project with 'rm -rf .git && git init'
  4. Install the node dependencies 'npm install'
  5. Move the example Environment file to '.env' that will be ignored by git and read by the express server 'mv example.env .env'
  6. Edit the contents of the 'package.json' to use NEW-PROJECT-NAME instead of '"name": "express-boilerplate",'

Scripts

Start the application 'npm start'

Start nodemon for the application 'npm run dev'

Run the tests 'npm test'

Deploying

When you new project is ready for deployment, add a new Heroku application with 'heroku create'. This will make a new git remote called "heroku" and you can then 'npm run deploy' which will push to this remote's master branch.

Seed database

psql -U dunder_mifflin -d blogful -f ./seeds/seed.blogful_articles.sql

blogful-deploy's People

Contributors

ajlanza avatar dependabot[bot] avatar

Watchers

James Cloos 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.