update README

This commit is contained in:
gbrochar 2020-11-22 15:47:37 +01:00
parent 4feff06a2b
commit 59fe15d726
1 changed files with 10 additions and 8 deletions

View File

@ -3,21 +3,23 @@ curiousroamers' blog
# Installation # Installation
You need a postgresql databased called curiousroamers setup, You need a postgresql databased called curiousroamers setup
You have to specify :
You have to specify in the .env file :
- SESSION_SECRET - SESSION_SECRET
- ACCESS_TOKEN_SECRET - ACCESS_TOKEN_SECRET
- DATABASE_PASSWORD - DATABASE_PASSWORD
in the .env file
npm install Then :
npm run build ```npm install```
npm start ```npm run build```
```npm start```
If you wanna create an admin you gotta create a new UniqueLink row in the If you wanna create an admin you gotta create a new UniqueLink row in the
uniquelink table, Then go to localhost:3000/admin/signup/:uuid (:uuid being the uniquelink table, then go to localhost:3000/admin/signup/:uuid (:uuid being the
UniqueLink row's uuid) to create an account. UniqueLink row's uuid) to create an account.
The admin page is not very pretty at the moment cause it is not done. The admin page is not very pretty at the moment cause it's frontend ain't done.
I have a project of transforming this website into a simple blog CMS. I have a project of transforming this website into a simple blog CMS.