Skip to content

Latest commit

 

History

History
31 lines (27 loc) · 1.21 KB

README.md

File metadata and controls

31 lines (27 loc) · 1.21 KB

Single page application on AngularJS/NodeJS/PostrgeSQL

Installation:

  • Clone the project: git clone https://github.com/jakeweb/website-angular.git
  • Navigate to the project folder
  • Install node modules by running npm install
  • Install bower components by running bower install
  • Launch the project locally by running the following command: npm start

##Installation local PostgreSQL

  • restore dump by running the following command:
  • psql -U postgres-user-name db-angular < path/to/database/dump.sql
  • where
  • postgres-user-name - your postres user name
  • db-angular - your database name
  • path/to/database/dump.sql - path to sql build file

  • add environment variable EM_PG_CONN with the following content:
  • postgres://postgres-user-name : password @127.0.0.1/db-angular
  • where
  • postgres-user-name - your postres user name
  • password - password for this user name
  • db-angular - the name of database