Skip to content

MahdiPeydai/RegistrationSample

Repository files navigation

RegistrationSample

You can create users with different email and phone number. Admin panel for managing users.

Installation

First clone the repository :

git clone https://github.com/mahdipeydai/RegistrationSample.git

then go to project directory

cd path/to/project/directory/

after that create a database for project in MySQL.

Then create a .env file in project directory and set these configs in it:

  • SECRET_KEY
  • MYSQL_ROOT_PASSWORD
  • MYSQL_DATABASE

For installing Webpack dependencies and bundling run :

npm install
npm run build

After that for creating static files run :

python3 manage.py collectstatic

Then you need to do database migrations :(make sure MySQL is running on your machine)

python3 manage.py makemigrations
python3 manage.py migrate

For creating admin user run :

python3 manage.py creatersuperuser

It is ready. Enjoy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published