This commit is contained in:
lesion 2024-12-23 11:10:06 +01:00
parent 22e76e46ee
commit d3051f4b7e
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -19,36 +19,37 @@ has_children: true
### Testing on your own machine ### Testing on your own machine
2. Download source 1. Download source
```bash ```bash
git clone https://framagit.org/les/gancio git clone https://framagit.org/les/gancio
``` ```
3. Install dependencies 2. Install dependencies
```bash ```bash
yarn yarn
``` ```
4. Use a default sqlite configuration 3. Use a default sqlite configuration
```bash ```bash
cp config.example.json config.json cp config.example.json config.json
``` ```
5. Run db migrations 4. Run db migrations
```bash ```bash
./node_modules/.bin/sequelize db:migrate ./node_modules/.bin/sequelize db:migrate
``` ```
6. Create a first admin user 5. Create a first admin user
```bash ```bash
./server/cli.js users create admin secret-password admin ./server/cli.js users create admin secretpassword admin
``` ```
6. Hacking
7. Hacking
```bash ```bash
yarn dev yarn dev
``` ```
> info "Info"
> You can skip step n.5 and register the user from the UI, the first registered user will be an active administrator.
Please use the [issues](https://framagit.org/les/gancio/-/issues) to discuss any modification. Please use the [issues](https://framagit.org/les/gancio/-/issues) to discuss any modification.