mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-10-02 16:20:36 -05:00
Fix install instructions
This commit is contained in:
@@ -8,10 +8,10 @@ Prerequisites: [nvm](https://github.com/nvm-sh/nvm)
|
||||
|
||||
There is a sequence of commands you need to run:
|
||||
|
||||
1. `nvm use` to switch to the correct Node version.
|
||||
1. `nvm use` to switch to the correct Node version. If you have problems with nvm you can also install the latest LTS version of Node.js from [their website](https://nodejs.org/en/).
|
||||
2. `npm i` to install the dependencies.
|
||||
3. Make a copy of `.env.example` that's called `.env`. See below for note about environment variables.
|
||||
4. `npm run migrate` to set up the database tables.
|
||||
4. `npm run migrate up` to set up the database tables.
|
||||
5. `npm run seed` to fill database with test data.
|
||||
6. `npm run dev` to run the project in development mode.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user