mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
minor
This commit is contained in:
parent
22e76e46ee
commit
d3051f4b7e
1 changed files with 10 additions and 9 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue