/magstudentportal/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/magstudentportal/trunk

« back to all changes in this revision

Viewing changes to README

  • Committer: Gustav Hartvigsson
  • Date: 2017-08-18 12:24:30 UTC
  • mto: (15.1.9 magstudentportal-more-db)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: gustav.hartvigsson@gmail.com-20170818122430-p9pkxdcpov38xo5o
* humm...

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
Initialising Database: PostreSQL -----------------------------------------------
42
42
 
43
43
  In postgres you need to start psql from the terminal:
44
 
$ psql -h localhost -U postgres -a -f ./src/main/resources/create_db.sql
 
44
$ psql -U <username> -a -f ./src/main/resources/create_db.sql
45
45
  If the your database username is "postgres", you should use that. press enter
46
46
and enter the password fot the database user.
47
47
 
62
62
 
63
63
  Now that you have created the database you need to initialise the tables, to
64
64
do this you need to run the following:
65
 
$ psql -h localhost -U postgres -d mag_studentportal \
 
65
$ psql -U <username> -d mag_studentportal \
66
66
  -a -f ./src/main/resources/create_tables.sql
67
67
  That should run without any errors.
68
68