Skip to content

Project Fyyur for the Udacity Full Stack Web Developer Nanodegree

Notifications You must be signed in to change notification settings

bjellesma/fyyur

Repository files navigation

  1. pipenv is used as the virtual environment of choice for this application and you cna install it using pip install pipenv
  2. You can install the proper virtual environment with pipenv install. As long as the pipenv.lock file is located within the root directory, you will also be able to install all of the necessary packages.
  3. Create a database connection Create a .env file in the root directory of the project with the following
    DATABASE_TYPE=
    DATABASE_HOST=
    DATABASE_PORT=
    DATABASE_USER=
    DATABASE_PASSWORD=
    DATABASE_DATABASE=
    DEBUG=
    
  4. To initialize the app with data, run npm run init
  5. To start the server: npm run server or pipenv run python app.py
  6. The server is started and you can navigate to 127.0.0.1:7999

Database Migrations

  • Run npm run db-migrate to create a new migration script whenever changing the database models
  • Run npm run db-upgrate to upgrade the Posgresql database that you're connecting to

About

Project Fyyur for the Udacity Full Stack Web Developer Nanodegree

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published