Changeset 87614a5 for README.md


Ignore:
Timestamp:
06/11/22 12:46:20 (2 years ago)
Author:
anastasovv <simon@…>
Branches:
main
Children:
64dc53b
Parents:
6568bde
Message:

Blackjack prototype

File:
1 edited

Legend:

Unmodified
Added
Removed
  • README.md

    r6568bde r87614a5  
    1 This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
     1# Caessino
    22
    3 ## Getting Started
     3Firstly, create a .env file in the project's root directory and populate it like so:
    44
    5 First, run the development server:
     5HOME_URL="http://localhost:3000"
    66
    7 ```bash
    8 npm run dev
    9 # or
    10 yarn dev
    11 ```
    127
    13 Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
     8Now, in your console, navigate to the project's root directory and run:
    149
    15 You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.
     10docker-compose up
    1611
    17 [API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`.
    1812
    19 The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
     13======== If you are configuring this project for the first time, do the following =========
    2014
    21 ## Learn More
     15We will now set up a dummy database, in order for the project to work.
     16Note: The containers should be running in the background! (previously started with docker-compose up)
    2217
    23 To learn more about Next.js, take a look at the following resources:
     18Open another console and run:
    2419
    25 - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
    26 - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
     20docker exec -it name_of_db_container /bin/bash
     21psql -U postgres postgres &lt; /usr/local/app/caessino.sql
    2722
    28 You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
     23==========================================================================================
    2924
    30 ## Deploy on Vercel
     25Now you are all set up.
    3126
    32 The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
    33 
    34 Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
     27Enjoy your stay at Caessino.
Note: See TracChangeset for help on using the changeset viewer.