- The application is tested to work on Windows and MAC operating systems.
- Download PostgreSQL version 11 or later from https://www.postgresql.org/download/
- Download Node.js version 12 or later from https://nodejs.org/en/
- Unzip the source code, or clone it from https://github.com/CS2102-AY1920S1-G14/ModuleRegistration.git
- Create a .env file in the ModuleRegistration folder.
- In the .env file create a string using this format: DATABASE URL=postgres://username:password@host address:port/database_name
- Open a terminal in the ModuleRegistration folder.
- Type npm install. This will install all the necessary node modules.
- Type node bin/www. This will run the web server.
- Open your browser and type localhost:3000. This is the login page for all our users.
- The application comes shipped with the SQL tables and some dummy values, which is found in the sql/init.sql file.
- To log in as an Admin, use username 'e0134110' and password '1234567890' without the quotation marks.
- To log in as a Student, use username 'e0191331', password '1234567890' without the quotation marks.
jwl1997 / moduleregistration Goto Github PK
View Code? Open in Web Editor NEWThis project forked from cs2102-ay1920s1-g14/moduleregistration