- Install Node.js(last LTS version)
- Install Git
- Check the installation: for this, run the command line (terminal):
node -v
npm -v
- Install PostgreSQL for your OS and create a database via pgAdmin, for example. Remember the name of the database, username and password, because it is required for running a server
- Clone the repository: open the command line and run command
git clone https://github.com/BinaryStudioAcademy/bsa-2019-popcorn.git
- Open the project, then open the server folder and create .env file there. After it, copy everything from .env.example to .env file and follow all the instructions from the comments in the file
- Install client and server packages:
npm i -g yarn
npm i -g nodemon
yarn install-packages
- Run client and server simultaneously:
yarn start