Skip to content
Snippets Groups Projects
Commit c9aaeae1 authored by Nirmeen Sallam's avatar Nirmeen Sallam
Browse files

updated readme file and gitignore

parent a87d98a3
No related branches found
No related tags found
1 merge request!351updated readme file and gitignore
Pipeline #46491 passed
......@@ -45,3 +45,6 @@ smasch_*_all.deb
smasch_*_amd64.build
smasch_*_amd64.changes
debian/
#OS generated folders
**/.DS_Store
\ No newline at end of file
......@@ -49,7 +49,7 @@ pip install -r requirements-dev.txt
npm install
```
- Create `local_settings.py` file in `smash/smash` directory by copying the template in `smash/smash/local_settings.template` and edit your local_setttings.py file to change your database connection data.
- Create `local_settings.py` file in `smash/smash` directory by copying the template in `smash/smash/local_settings.template` and edit your local_setttings.py file to set `FORCE_2FA = False` and change your database connection data.
### Database configuration
......@@ -91,19 +91,23 @@ After database connection is configured setup a database by applying migration s
./manage.py superworker -u admin -e test@test.lu -f John -l Doe
```
## Development
Remember, that before working you have to activate _virtualenv_ (in project directory), by:
```bash
. env/bin/activate
```
To add dummy data, run:
```bash
python smash/db_scripts/create_dummy_data.py
```
In order to run development server, run:
```bash
cd smash
./manage.py runserver
```
and go to `127.0.0.1:8000` in browser
### Mac Developers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment