Skip to content

Latest commit

 

History

History
62 lines (42 loc) · 880 Bytes

README.md

File metadata and controls

62 lines (42 loc) · 880 Bytes

Submissions Platform

Setup

To set up the Submissions Platform, follow these steps:

  1. Clone the repository to your local machine:
git clone https://github.com/your-username/submissions-platform.git
  1. Navigate to the project directory:
cd submissions-platform
  1. Install the required dependencies:
npm install
  1. Install dotenv-cli
npm install -g dotenv-cli
  1. Add a .env and .env.test file in your root with the following configurations:
PORT=3000
DATABASE_URL="./db/dev.db"
PORT=3000
DATABASE_URL="./db/test.db"
  1. Run database setup commands
npm run db:push:dev
npm run db:push:test
  1. Start the application:
npm run dev
  1. Run the tests:
npm run test

That's it! You have successfully set up the Submissions Platform on your local machine.